summaryrefslogtreecommitdiffstats
path: root/arch/unicore32/kernel/rtc.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-04-04 08:33:21 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-04-04 08:33:21 -0700
commit3230ca9dc656a2354b679e2e62ee7740485563a9 (patch)
treeb5659a952454efe7ef18e6f34bf123e948ae413e /arch/unicore32/kernel/rtc.c
parent7dbb25a579fe1f068358a19928ada4f9be62e60d (diff)
parent6b794743b2c5e21825d35b5d5dd57d6fcc388198 (diff)
downloadop-kernel-dev-3230ca9dc656a2354b679e2e62ee7740485563a9.zip
op-kernel-dev-3230ca9dc656a2354b679e2e62ee7740485563a9.tar.gz
Merge branch 'unicore32' of git://git.kernel.org/pub/scm/linux/kernel/git/epip/linux-2.6-unicore32
* 'unicore32' of git://git.kernel.org/pub/scm/linux/kernel/git/epip/linux-2.6-unicore32: unicore32 framebuffer fix: get videomemory by __get_free_pages() and make it floatable unicore32 core architecture: remove duplicated #include unicore32 rtc driver fix: cleanup irq_set_freq and irq_set_state unicore32 fix: remove arch-specific futex support unicore32 ldscript fix: add cacheline parameter to PERCPU() macro
Diffstat (limited to 'arch/unicore32/kernel/rtc.c')
-rw-r--r--arch/unicore32/kernel/rtc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/unicore32/kernel/rtc.c b/arch/unicore32/kernel/rtc.c
index c5f0682..8cad70b 100644
--- a/arch/unicore32/kernel/rtc.c
+++ b/arch/unicore32/kernel/rtc.c
@@ -88,11 +88,6 @@ static int puv3_rtc_setpie(struct device *dev, int enabled)
return 0;
}
-static int puv3_rtc_setfreq(struct device *dev, int freq)
-{
- return 0;
-}
-
/* Time read/write */
static int puv3_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm)
@@ -214,8 +209,6 @@ static const struct rtc_class_ops puv3_rtcops = {
.set_time = puv3_rtc_settime,
.read_alarm = puv3_rtc_getalarm,
.set_alarm = puv3_rtc_setalarm,
- .irq_set_freq = puv3_rtc_setfreq,
- .irq_set_state = puv3_rtc_setpie,
.proc = puv3_rtc_proc,
};
@@ -294,8 +287,6 @@ static int puv3_rtc_probe(struct platform_device *pdev)
puv3_rtc_enable(pdev, 1);
- puv3_rtc_setfreq(&pdev->dev, 1);
-
/* register RTC and exit */
rtc = rtc_device_register("pkunity", &pdev->dev, &puv3_rtcops,
OpenPOWER on IntegriCloud