2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00

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

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