commit | 93ab471889c6662b42ce7da257f31f24c08d7d9e | [log] [tgz] |
---|---|---|
author | Wade Farnsworth <wfarnsworth@mvista.com> | Wed Jul 11 02:55:46 2007 +1000 |
committer | Paul Mackerras <paulus@samba.org> | Wed Jul 11 13:24:40 2007 +1000 |
tree | d1e665ac13b65c94ef5606787209e096a7d5793c | |
parent | 3c0c9e389bb9618fee2300eea2d135e4db64c4ba [diff] |
[POWERPC] Create add_rtc() function to enable the RTC CMOS driver 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>