]> Pileus Git - ~andy/linux/commit
rtc: Allow RTC_DRV_CMOS to be used on SPARC.
authorDavid S. Miller <davem@davemloft.net>
Fri, 29 Aug 2008 02:54:17 +0000 (19:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Aug 2008 21:16:45 +0000 (14:16 -0700)
commit582defd8ddb90448d72692a8e1d5b2966d2ed819
treea707bc23500f1c76ed794f55beb8fc098a96f600
parent0c0db98b50ed1217c0dbf4051722034ba314d06e
rtc: Allow RTC_DRV_CMOS to be used on SPARC.

Add Sparc to the Kconfig depends list.

Add __sparc___ to address_sparc = 128 ifdef.

Finally, don't be concerned about 24-hour BCD mode support if the RTC
doesn't have a valid IRQ.  We won't even use the alarm code in this
case and the Sparc RTCs have this limitation.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/rtc/Kconfig
drivers/rtc/rtc-cmos.c