aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/rtc_cmos_setup.c
AgeCommit message (Collapse)Author
2007-08-17[POWERPC] Add interrupt resource for RTC CMOS driverKumar Gala
The RTC CMOS driver expects the interrupt to be a resource of the platform device. Use a fixed interrupt value of 8 since on PPC if we are using this its off an i8259 which we ensure has interrupt numbers 0..15. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2007-07-11[POWERPC] Create add_rtc() function to enable the RTC CMOS driverWade Farnsworth
In order to use the RTC CMOS driver, each architecture must register a platform device for the RTC. This creates a function to register the platform device based on the RTC device node and verifies that the RTC port against the hard-coded value in asm/mc146818rtc.h. Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>