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-Url: http://git.mmlx.us/?a=commitdiff_plain;h=40447df803971a8663a7d5f96c8a19160dfd1776;p=linux-edison.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 8d4e8d28af5..4c8610293fc 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