Commit f0c9261a authored by James Bottomley's avatar James Bottomley

aic7xxx: compile fix for EISA only case

We can't refer to PCI functions for a pure
EISA machine.
parent fc649790
...@@ -1543,6 +1543,7 @@ ahc_softc_comp(struct ahc_softc *lahc, struct ahc_softc *rahc) ...@@ -1543,6 +1543,7 @@ ahc_softc_comp(struct ahc_softc *lahc, struct ahc_softc *rahc)
/* Still equal. Sort by BIOS address, ioport, or bus/slot/func. */ /* Still equal. Sort by BIOS address, ioport, or bus/slot/func. */
switch (rvalue) { switch (rvalue) {
#ifdef CONFIG_PCI
case AHC_PCI: case AHC_PCI:
{ {
char primary_channel; char primary_channel;
...@@ -1575,6 +1576,7 @@ ahc_softc_comp(struct ahc_softc *lahc, struct ahc_softc *rahc) ...@@ -1575,6 +1576,7 @@ ahc_softc_comp(struct ahc_softc *lahc, struct ahc_softc *rahc)
value = 1; value = 1;
break; break;
} }
#endif
case AHC_EISA: case AHC_EISA:
if ((rahc->flags & AHC_BIOS_ENABLED) != 0) { if ((rahc->flags & AHC_BIOS_ENABLED) != 0) {
value = rahc->platform_data->bios_address value = rahc->platform_data->bios_address
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment