lkml.org 
[lkml]   [2005]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-06-24 19:31    [W:0.096 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site