patch-2.3.50 linux/drivers/block/ali14xx.c
Next file: linux/drivers/block/cpqarray.h
Previous file: linux/drivers/block/Config.in
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Fri Mar 3 12:54:44 2000
- Orig file:
v2.3.49/linux/drivers/block/ali14xx.c
- Orig date:
Sat Feb 26 22:31:43 2000
diff -u --recursive --new-file v2.3.49/linux/drivers/block/ali14xx.c linux/drivers/block/ali14xx.c
@@ -55,12 +55,12 @@
/* port addresses for auto-detection */
#define ALI_NUM_PORTS 4
-static int __init ports[ALI_NUM_PORTS] = {0x074, 0x0f4, 0x034, 0x0e4};
+static int ports[ALI_NUM_PORTS] __initdata = {0x074, 0x0f4, 0x034, 0x0e4};
/* register initialization data */
typedef struct { byte reg, data; } RegInitializer;
-static RegInitializer __init initData[] = {
+static RegInitializer initData[] __initdata = {
{0x01, 0x0f}, {0x02, 0x00}, {0x03, 0x00}, {0x04, 0x00},
{0x05, 0x00}, {0x06, 0x00}, {0x07, 0x2b}, {0x0a, 0x0f},
{0x25, 0x00}, {0x26, 0x00}, {0x27, 0x00}, {0x28, 0x00},
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)