aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-10-25 19:47:36 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-25 19:47:36 -0400
commit10d8c4638c5a797baad5846a3447c0ccca8986a3 (patch)
tree77d173b74329a25d065188799828e0d8cfbd6fbe /drivers/net
parent43a951e9994fd218ab4e641f94a2fc53556c3675 (diff)
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/can/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig
index a0b02bce694c..080574b0fff0 100644
--- a/drivers/net/can/Kconfig
+++ b/drivers/net/can/Kconfig
@@ -84,7 +84,7 @@ config CAN_FLEXCAN
84 84
85config PCH_CAN 85config PCH_CAN
86 tristate "PCH CAN" 86 tristate "PCH CAN"
87 depends on CAN_DEV 87 depends on CAN_DEV && PCI
88 ---help--- 88 ---help---
89 This driver is for PCH CAN of Topcliff which is an IOH for x86 89 This driver is for PCH CAN of Topcliff which is an IOH for x86
90 embedded processor. 90 embedded processor.