Re: [PATCH] drivers/ptp/Kconfig: add "depends on HAS_IOMEM" for 'PTP_1588_CLOCK_PCH'
From: Chen Gang <hidden>
Date: 2013-06-27 08:22:12
From: Chen Gang <hidden>
Date: 2013-06-27 08:22:12
On 06/27/2013 02:48 PM, Geert Uytterhoeven wrote:
On Thu, Jun 27, 2013 at 2:52 AM, Chen Gang [off-list ref] wrote:quoted
quoted
The related driver need depend on HAS_IOMEM, or may be built under UML architecture. The related error (with allmodconfig, without pcap): CC [M] drivers/ptp/ptp_pch.o drivers/ptp/ptp_pch.c: In function ‘pch_remove’: drivers/ptp/ptp_pch.c:571:3: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration] drivers/ptp/ptp_pch.c: In function ‘pch_probe’: drivers/ptp/ptp_pch.c:621:2: error: implicit declaration of function ‘ioremap’ [-Werror=implicit-function-declaration] drivers/ptp/ptp_pch.c:621:13: warning: assignment makes pointer from integer without a cast [enabled by default] cc1: some warnings being treated as errors Signed-off-by: Chen Gang <redacted>Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Thanks. -- Chen Gang