X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fscsi%2Faha1542.c;h=51bad7a1e773235ea0a59fb8085680dbfcb47756;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=24f0f5461792d4068c35d053a6967cb4525b6347;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c index 24f0f5461..51bad7a1e 100644 --- a/drivers/scsi/aha1542.c +++ b/drivers/scsi/aha1542.c @@ -25,6 +25,7 @@ * Added proper detection of the AHA-1640 (MCA version of AHA-1540) */ +#include #include #include #include @@ -1010,7 +1011,7 @@ static int __init do_setup(char *str) int count=setup_idx; - get_options(str, ARRAY_SIZE(ints), ints); + get_options(str, sizeof(ints)/sizeof(int), ints); aha1542_setup(str,ints); return count