diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-01-28 15:15:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-29 15:08:20 -0800 |
commit | fc9a5707832e57f2317c89101fbe9d4ccbd62fa6 (patch) | |
tree | 6257ff742c2d490c187072276d1bb6ea3c8fa98c /drivers/clocksource/timer-atmel-pit.c | |
parent | e2a4800e75780ccf4e6c2487f82b688ba736eb18 (diff) | |
download | linux-fc9a5707832e57f2317c89101fbe9d4ccbd62fa6.tar.bz2 |
net: cs89x0: always build platform code if !HAS_IOPORT_MAP
The cs89x0 driver can either be built as an ISA driver or a platform
driver, the choice is controlled by the CS89x0_PLATFORM Kconfig
symbol. Building the ISA driver on a system that does not have
a way to map I/O ports fails with this error:
drivers/built-in.o: In function `cs89x0_ioport_probe.constprop.1':
:(.init.text+0x4794): undefined reference to `ioport_map'
:(.init.text+0x4830): undefined reference to `ioport_unmap'
This changes the Kconfig logic to take that option away and
always force building the platform variant of this driver if
CONFIG_HAS_IOPORT_MAP is not set. This is the only correct
choice in this case, and it avoids the build error.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clocksource/timer-atmel-pit.c')
0 files changed, 0 insertions, 0 deletions