lkml.org 
[lkml]   [2008]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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


\
 
 \ /
  Last update: 2008-04-14 16:23    [W:0.023 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site