Messages in this thread Patch in this message | | | Date | Mon, 14 Apr 2008 17:17:07 +0300 | From | Adrian Bunk <> | Subject | [2.6 patch] let RTC_DRV_PCF8583 depend on ARCH_RPC |
| |
This patch fixes the following compile error on architectures without asm/mc146818rtc.h:
<-- snip -->
... CC [M] drivers/rtc/rtc-pcf8583.o In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/rtc/rtc-pcf8583.c:18: /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/mc146818rtc.h:16:59: error: asm/mc146818rtc.h: No such file or directory make[3]: *** [drivers/rtc/rtc-pcf8583.o] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@kernel.org>
--- d2a133b4f0bebbbf2f4045a5503b82135da2c620 diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 9e7de63..d0d6c6e 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -213,6 +213,7 @@ config RTC_DRV_PCF8563 config RTC_DRV_PCF8583 tristate "Philips PCF8583" + depends on ARCH_RPC help If you say yes here you get support for the Philips PCF8583 RTC chip found on Acorn RiscPCs. This driver supports the
| |