Subject: Re: uwb build errors: CONFIG_PCI=n, CONFIG_USB=y

From: Randy Dunlap <[email-masked]>
Date: Wed, 14 May 2008 13:17:49 -0700

[dropped closed list: [email-masked]]

This build error has now moved into 2.6.26-rc2-mm1 also.

On Tue, 6 May 2008 13:58:22 -0700 (PDT) Randy.Dunlap wrote:

> 
> On x86_64 or i386, maybe others:
> 
> In file included from /home/rdunlap/linsrc/next-20080506/drivers/uwb/umc-bus.c:12:
> /home/rdunlap/linsrc/next-20080506/include/linux/uwb/umc.h: In function 'umc_parent_pci_dev':
> /home/rdunlap/linsrc/next-20080506/include/linux/uwb/umc.h:145: error: 'pci_bus_type' undeclared (first use in this function)
> /home/rdunlap/linsrc/next-20080506/include/linux/uwb/umc.h:145: error: (Each undeclared identifier is reported only once
> /home/rdunlap/linsrc/next-20080506/include/linux/uwb/umc.h:145: error: for each function it appears in.)
> /home/rdunlap/linsrc/next-20080506/drivers/uwb/umc-bus.c: In function 'umc_match_pci_id':
> /home/rdunlap/linsrc/next-20080506/drivers/uwb/umc-bus.c:29: error: 'pci_bus_type' undeclared (first use in this function)
> /home/rdunlap/linsrc/next-20080506/drivers/uwb/umc-bus.c:33: error: implicit declaration of function 'pci_match_id'
> make[3]: *** [drivers/uwb/umc-bus.o] Error 1
> make[2]: *** [drivers/uwb] Error 2

---
~Randy