sh: register the rtc-generic platform device properly.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 28 Apr 2009 14:12:10 +0000 (23:12 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 28 Apr 2009 14:12:10 +0000 (23:12 +0900)
commit4278600644dee621bd50d7498e244b135612e0f6
treef99805f6e22920f3e0d24ae512ffe89e2c3ea184
parent8e0b842948156e3463879caed12b4ce51bed772e
sh: register the rtc-generic platform device properly.

The device registration was accidentally omitted, add it back in. Do some
basic device probing as well, so this doesn't show up for platforms that
tie in to the RTC interface properly.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/time_32.c