Re: linux-next: Tree for July 4 (misc/pti)

From: Randy Dunlap
Date: Mon Jul 04 2011 - 16:46:03 EST


On Mon, 4 Jul 2011 17:09:52 +1000 Stephen Rothwell wrote:

> Hi all,
>
> Changes since 20110701:


when CONFIG_PCI is not enabled:

drivers/misc/pti.c:410: error: implicit declaration of function 'pci_release_region'
drivers/misc/pti.c:859: error: implicit declaration of function 'pci_request_region'


Stubs for these 2 functions could be added to include/linux/pci.h, but it would
make more sense to me just to make the driver depend on PCI since it seems to rely
on so many PCI functions. or are the PCI pieces optional?

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/