pch_can: depends on PCI

Fix pch_can build when CONFIG_PCI is not enabled.  It uses pci interfaces
and data structures, so it should depend on PCI.

drivers/net/can/pch_can.c:1044: error: implicit declaration of function 'pci_enable_msi'
drivers/net/can/pch_can.c:1079: error: implicit declaration of function 'pci_disable_msi'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Randy Dunlap 2010-10-25 16:47:36 -07:00 committed by David S. Miller
parent 43a951e999
commit 10d8c4638c

View file

@ -84,7 +84,7 @@ config CAN_FLEXCAN
config PCH_CAN config PCH_CAN
tristate "PCH CAN" tristate "PCH CAN"
depends on CAN_DEV depends on CAN_DEV && PCI
---help--- ---help---
This driver is for PCH CAN of Topcliff which is an IOH for x86 This driver is for PCH CAN of Topcliff which is an IOH for x86
embedded processor. embedded processor.