[lkml]   [2004]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[2.6 patch] SCSI gdth: kill #define __devinitdata
I got the following warning in 2.6.8-rc3-mm2:

<-- snip -->

CC drivers/scsi/gdth.o
drivers/scsi/gdth.c:622:1: warning: "__devinitdata" redefined
In file included from include/linux/moduleparam.h:4,
from include/linux/module.h:20,
from drivers/scsi/gdth.c:375:
include/linux/init.h:227:1: warning: this is the location of the
previous definition

<-- snip -->

The #define in question seems bogus, and the following patch simply
removes it:

Signed-off-by: Adrian Bunk <>

--- linux-2.6.8-rc3-mm2-full-3.4/drivers/scsi/gdth.c.old 2004-08-09 20:59:07.000000000 +0200
+++ linux-2.6.8-rc3-mm2-full-3.4/drivers/scsi/gdth.c 2004-08-09 21:03:02.000000000 +0200
@@ -618,9 +618,6 @@

/* __initfunc, __initdata macros */
-#define __devinitdata
#define GDTH_INITFUNC(type, func) type __init func
#include <linux/init.h>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [W:0.023 / U:7.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site