X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fscsi%2Faha1542.c;h=4c5e9c38fe2152c4bf0c365513df866fc6e34cb1;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=030c971f5aafc11a46ac772ce68eeb7f2743db78;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/drivers/scsi/aha1542.c b/drivers/scsi/aha1542.c index 030c971f5..4c5e9c38f 100644 --- a/drivers/scsi/aha1542.c +++ b/drivers/scsi/aha1542.c @@ -47,7 +47,7 @@ #include #include "scsi.h" -#include "hosts.h" +#include #include "aha1542.h" #define SCSI_BUF_PA(address) isa_virt_to_bus(address) @@ -545,7 +545,7 @@ static void aha1542_intr_handle(struct Scsi_Host *shost, void *dev_id, struct pt my_done = SCtmp->scsi_done; if (SCtmp->host_scribble) { kfree(SCtmp->host_scribble); - SCtmp->host_scribble = 0; + SCtmp->host_scribble = NULL; } /* Fetch the sense data, and tuck it away, in the required slot. The Adaptec automatically fetches it, and there is no guarantee that @@ -1069,7 +1069,7 @@ static int __init aha1542_detect(Scsi_Host_Template * tpnt) /* * Find MicroChannel cards (AHA1640) */ -#ifdef CONFIG_MCA +#ifdef CONFIG_MCA_LEGACY if(MCA_bus) { int slot = 0; int pos = 0;