Skip to content
Commit 93ab4718 authored by Wade Farnsworth's avatar Wade Farnsworth Committed by Paul Mackerras
Browse files

[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: default avatarWade Farnsworth <wfarnsworth@mvista.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 3c0c9e38
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment