Re: [PATCH] 2.6.12.1 & disabled CONFIG_PCI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Pasha Zubkov ([email protected]) 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux