net: via/Kconfig: GENERIC_PCI_IOMAP required if PCI not selected
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 24 Sep 2015 10:16:53 +0000 (15:46 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2015 19:36:58 +0000 (12:36 -0700)
commit21343ac21ec7d871e94e98e288f3398a4207d9c0
treec6a3456d691a1a2439d44a5d9441433dcb3e0cc5
parent357cd64c18404309aabefb82019b12773de31a12
net: via/Kconfig: GENERIC_PCI_IOMAP required if PCI not selected

The builds of allmodconfig of avr32 is failing with:

drivers/net/ethernet/via/via-rhine.c:1098:2: error: implicit declaration
of function 'pci_iomap' [-Werror=implicit-function-declaration]
drivers/net/ethernet/via/via-rhine.c:1119:2: error: implicit declaration
of function 'pci_iounmap' [-Werror=implicit-function-declaration]

The generic empty pci_iomap and pci_iounmap is used only if CONFIG_PCI
is not defined and CONFIG_GENERIC_PCI_IOMAP is defined.

Add GENERIC_PCI_IOMAP in the dependency list for VIA_RHINE as we are
getting build failure when CONFIG_PCI and CONFIG_GENERIC_PCI_IOMAP both
are not defined.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/Kconfig