public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi_dev_flags must be __initdata, not __init
@ 2004-06-02  8:01 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2004-06-02  8:01 UTC (permalink / raw)
  To: jejb; +Cc: linux-scsi

__init is only for functions


--- 1.14/drivers/scsi/scsi_devinfo.c	2004-05-29 19:09:05 +02:00
+++ edited/drivers/scsi/scsi_devinfo.c	2004-05-31 23:05:51 +02:00
@@ -27,7 +27,7 @@
 static const char spaces[] = "                "; /* 16 of them */
 static unsigned scsi_default_dev_flags;
 static LIST_HEAD(scsi_dev_info_list);
-static __init char scsi_dev_flags[256];
+static __initdata char scsi_dev_flags[256];
 
 /*
  * scsi_static_device_list: deprecated list of devices that require

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-06-02  8:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-02  8:01 [PATCH] scsi_dev_flags must be __initdata, not __init Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox