Skip to content

Commit

Permalink
Staging: cxt1e1: fix up one remaining THIS_MODULE usage
Browse files Browse the repository at this point in the history
Copied from original Patch by Randy Dunlap

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Peter Hüwe authored and Greg Kroah-Hartman committed May 11, 2010
1 parent dde27e0 commit 40447df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/cxt1e1/hwprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40447df

Please sign in to comment.