Messages in this thread | | | Date | Fri, 24 Jun 2005 10:13:19 -0700 | From | Chris Wright <> | Subject | Re: [PATCH] 2.6.12.1 & disabled CONFIG_PCI |
| |
* Pasha Zubkov (pasha.zubkov@gmail.com) 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |