Re: 2.5.75: parse error in pci.h if !CONFIG_PCI

From: Adrian Bunk (bunk@fs.tum.de)
Date: Mon Jul 14 2003 - 13:36:50 EST


On Sun, Jul 13, 2003 at 11:07:54PM -0700, Greg KH wrote:
> On Sun, Jul 13, 2003 at 12:27:41PM +0200, Adrian Bunk wrote:
> > I got the following compile error when trying to compile 2.5.75 with
> > !CONFIG_PCI:
> >
> > <-- snip -->
> >
> > ...
> > CC drivers/message/fusion/mptscsih.o
> > In file included from drivers/message/fusion/linux_compat.h:10,
> > from drivers/message/fusion/mptbase.h:58,
> > from drivers/message/fusion/mptscsih.c:82:
> > include/linux/pci.h:718: error: syntax error before "int"
> > drivers/message/fusion/mptscsih.c:6924: warning: `mptscsih_setup'
> > defined but not used
> > make[3]: *** [drivers/message/fusion/mptscsih.o] Error 1
> >
> > <-- snip -->
>
> Thanks, the patch below should fix this problem. I'll send it on to
> Linus in a bit.

Thanks, this patch fixed it.

> greg k-h
>...

cu
Adrian

-- 

"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

- 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/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:53 EST