From: Peter Hüwe Date: Wed, 5 May 2010 12:21:14 +0000 (+0200) Subject: Staging: cxt1e1: fix up one remaining THIS_MODULE usage X-Git-Tag: MMI-PSA29.97-13-9~23841^2^2~185 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=40447df803971a8663a7d5f96c8a19160dfd1776;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: cxt1e1: fix up one remaining THIS_MODULE usage Copied from original Patch by Randy Dunlap Signed-off-by: Peter Huewe Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/cxt1e1/hwprobe.c b/drivers/staging/cxt1e1/hwprobe.c index 8d4e8d28af59..4c8610293fcc 100644 --- a/drivers/staging/cxt1e1/hwprobe.c +++ b/drivers/staging/cxt1e1/hwprobe.c @@ -283,7 +283,7 @@ c4_hdw_init (struct pci_dev * pdev, int found) */ char *cp = hi->devname; - strcpy (cp, THIS_MODULE->name); + strcpy (cp, KBUILD_MODNAME); cp += strlen (cp); /* reposition */ *cp++ = '-'; *cp++ = '0' + (found / 2); /* there are two found interfaces per