2002-11-04 13:31:28

by Andreas Steinmetz

[permalink] [raw]
Subject: [PATCH] 2.4.20rc1 compile fix for in2000.c

--- ./drivers/scsi/in2000.c.orig 2002-11-04 14:15:38.000000000 +0100
+++ ./drivers/scsi/in2000.c 2002-11-04 14:18:58.000000000 +0100
@@ -1909,21 +1909,21 @@
* special macros declared in 'asm/io.h'. We use readb() and readl()
* when reading from the card's BIOS area in in2000_detect().
*/
-static u32 bios_tab[] in2000__INITDATA = {
+static u32 bios_tab[] = {
0xc8000,
0xd0000,
0xd8000,
0
};

-static const unsigned short base_tab[] in2000__INITDATA = {
+static const unsigned short base_tab[] = {
0x220,
0x200,
0x110,
0x100,
};

-static const int int_tab[] in2000__INITDATA = {
+static const int int_tab[] = {
15,
14,
11,


Attachments:
in2000.c.diff (683.00 B)