Staging: cxt1e1: fix up one remaining THIS_MODULE usage
authorPeter Hüwe <PeterHuewe@gmx.de>
Wed, 5 May 2010 12:21:14 +0000 (14:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:11 +0000 (11:36 -0700)
Copied from original Patch by Randy Dunlap

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/cxt1e1/hwprobe.c

index 8d4e8d28af590f00748903b03c4153ceddefa219..4c8610293fcc3d4c9567e0781f1f635e76c560bd 100644 (file)
@@ -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