From 40447df803971a8663a7d5f96c8a19160dfd1776 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20H=C3=BCwe?= Date: Wed, 5 May 2010 14:21:14 +0200 Subject: [PATCH] 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 --- drivers/staging/cxt1e1/hwprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/cxt1e1/hwprobe.c b/drivers/staging/cxt1e1/hwprobe.c index 8d4e8d28af59..4c8610293fcc 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 -- 2.20.1