dect
/
linux-2.6
Archived
13
0
Fork 0

Staging: cxt1e1: fix up one remaining THIS_MODULE usage

Copied from original Patch by Randy Dunlap

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Peter Hüwe 2010-05-05 14:21:14 +02:00 committed by Greg Kroah-Hartman
parent dde27e03cc
commit 40447df803
1 changed files with 1 additions and 1 deletions

View 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