lkml.org 
[lkml]   [2015]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net/appletalk: LTPC needs virt_to_bus
From
From: Arnd Bergmann <arnd@arndb.de>
Date: Wed, 18 Feb 2015 20:48:54 +0100

> 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>

Applied, thank you.


\
 
 \ /
  Last update: 2015-02-20 22:41    [W:0.039 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site