Re: [PATCH] 2.6.12.1 & disabled CONFIG_PCI

From: Chris Wright
Date: Fri Jun 24 2005 - 12:28:33 EST


* Pasha Zubkov (pasha.zubkov@xxxxxxxxx) wrote:
> --- linux-2.6.12.1/drivers/pnp/pnpacpi/rsparser.c 2005-06-24 20:12:26.000000000 +0300
> +++ /usr/src/linux-2.6.12.1/drivers/pnp/pnpacpi/rsparser.c 2005-06-24 20:03:32.000000000 +0300
> @@ -20,7 +20,13 @@
> */
> #include <linux/kernel.h>
> #include <linux/acpi.h>
> +
> +#ifdef CONFIG_PCI
> #include <linux/pci.h>
> +#else
> +inline void pcibios_penalize_isa_irq(int irq) {}
> +#endif /* CONFIG_PCI */
> +
> #include "pnpacpi.h"
>
> #ifdef CONFIG_IA64

This should be done in header file, then the pnpbios bit can be cleaned
up as well.

thanks,
-chris
-
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/