[PATCH] remove __initdata in scsi_devinfo.c

From: Andries Brouwer
Date: Sat Feb 26 2005 - 08:15:18 EST


scsi_dev_flags is referred to in
module_param_string(dev_flags, scsi_dev_flags, sizeof(scsi_dev_flags), 0);

Andries

diff -uprN -X /linux/dontdiff a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c
--- a/drivers/scsi/scsi_devinfo.c 2004-12-29 03:39:47.000000000 +0100
+++ b/drivers/scsi/scsi_devinfo.c 2005-02-26 14:30:15.000000000 +0100
@@ -28,7 +28,7 @@ struct scsi_dev_info_list {
static const char spaces[] = " "; /* 16 of them */
static unsigned scsi_default_dev_flags;
static LIST_HEAD(scsi_dev_info_list);
-static __initdata char scsi_dev_flags[256];
+static char scsi_dev_flags[256];

/*
* scsi_static_device_list: deprecated list of devices that require
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/