From: Andrew Morton sparc32: In file included from drivers/rtc/rtc-cmos.c:40: include/asm-generic/rtc.h: In function 'rtc_is_updating': include/asm-generic/rtc.h:40: error: 'rtc_port' undeclared (first use in this function) include/asm-generic/rtc.h:40: error: (Each undeclared identifier is reported only once include/asm-generic/rtc.h:40: error: for each function it appears in.) include/asm-generic/rtc.h: In function 'get_rtc_time': include/asm-generic/rtc.h:76: error: 'rtc_port' undeclared (first use in this function) Cc: David Brownell Cc: Woody Suwalski Cc: Alessandro Zummo Signed-off-by: Andrew Morton --- drivers/rtc/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/rtc/Kconfig~rtc-framework-driver-for-cmos-rtcs-fix drivers/rtc/Kconfig --- a/drivers/rtc/Kconfig~rtc-framework-driver-for-cmos-rtcs-fix +++ a/drivers/rtc/Kconfig @@ -1,4 +1,4 @@ -\# +# # RTC class/drivers configuration # @@ -102,7 +102,7 @@ comment "RTC drivers" config RTC_DRV_CMOS tristate "PC-style 'CMOS' real time clock" depends on RTC_CLASS && (X86_PC || ALPHA || ARM26 || ARM \ - || M32R || ATARI || POWERPC || SPARC64 || SPARC) + || M32R || ATARI || POWERPC || SPARC64) help Say "yes" here to get direct support for the real time clock found in every PC or ACPI-based system, and some other boards. _