diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-02-18 20:48:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-20 22:28:46 +0100 |
commit | bf60e50cb3ed50ae536f7655c8af1acda137ea5b (patch) | |
tree | aeb1c23af821678ed0ec0abc0a9d2a742fe38725 /drivers/net | |
parent | net: smc91x: improve neponset hack (diff) | |
download | linux-bf60e50cb3ed50ae536f7655c8af1acda137ea5b.tar.xz linux-bf60e50cb3ed50ae536f7655c8af1acda137ea5b.zip |
net/appletalk: LTPC needs virt_to_bus
The ltpc driver is rather outdated and does not get built on most
platforms because it requires the ISA_DMA_API symbol. However
there are some ARM platforms that have ISA_DMA_API but no virt_to_bus,
and they get this build error when enabling the ltpc driver.
drivers/net/appletalk/ltpc.c: In function 'handlefc':
drivers/net/appletalk/ltpc.c:380:2: error: implicit declaration of function 'virt_to_bus' [-Werror=implicit-function-declaration]
set_dma_addr(dma,virt_to_bus(ltdmacbuf));
^
This adds another dependency in Kconfig to avoid that configuration.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/appletalk/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/appletalk/Kconfig b/drivers/net/appletalk/Kconfig index 4ce6ca5f3d36..dc6b78e5342f 100644 --- a/drivers/net/appletalk/Kconfig +++ b/drivers/net/appletalk/Kconfig @@ -40,7 +40,7 @@ config DEV_APPLETALK config LTPC tristate "Apple/Farallon LocalTalk PC support" - depends on DEV_APPLETALK && (ISA || EISA) && ISA_DMA_API + depends on DEV_APPLETALK && (ISA || EISA) && ISA_DMA_API && VIRT_TO_BUS help This allows you to use the AppleTalk PC card to connect to LocalTalk networks. The card is also known as the Farallon PhoneNet PC card. |