]> git.baikalelectronics.ru Git - kernel.git/commit
pch_can: depends on PCI
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 25 Oct 2010 23:47:36 +0000 (16:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2010 23:47:36 +0000 (16:47 -0700)
commit89f89247f6f198fc08b23406061460e85abd7dda
tree77d173b74329a25d065188799828e0d8cfbd6fbe
parent3ee164c71b2db20aad6d9bad5a10066473ca2445
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>
drivers/net/can/Kconfig