Re: [PATCH TRIVIAL] Compile error in 2.4.22 without PCI

From: Christoph Hellwig
Date: Fri Oct 17 2003 - 07:33:53 EST


On Wed, Oct 15, 2003 at 12:30:36AM +0600, Denis Zaitsev wrote:
> I have these warnings when I'm compiling 2.4.22 for a 486 EISA system:
>
> aic7xxx_osm.c: In function `ahc_softc_comp':
> aic7xxx_osm.c:1560: warning: implicit declaration of function `ahc_get_pci_bus'
> aic7xxx_osm.c:1568: warning: implicit declaration of function `ahc_get_pci_slot'
>
> And then the make finishes with an error, because these functions
> really exist only if the PCI support is turned on.
>
> The patch below fixes this. And the same patch fits for the 2.6
> kernels. Please, apply it.

You probably want to send this to Justin, the driver Maintainer. If he
doesn't reply in say a week I´d suggest submitting it to Marcelo as it's
obviously correct.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/