[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150220.162859.1939233097658138953.davem@davemloft.net>
Date: Fri, 20 Feb 2015 16:28:59 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: netdev@...r.kernel.org, acme@...stprotocols.net,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] net/appletalk: LTPC needs virt_to_bus
From: Arnd Bergmann <arnd@...db.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@...db.de>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists