projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rkfb: support dual display use rk610 as scaler
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
rtc
/
rtc-pl030.c
diff --git
a/drivers/rtc/rtc-pl030.c
b/drivers/rtc/rtc-pl030.c
index bbdb2f02798a13187c91475696fa9f84594f8f47..1d28d4451dae548b26e6bdffb2d22e3dbb062fd7 100644
(file)
--- a/
drivers/rtc/rtc-pl030.c
+++ b/
drivers/rtc/rtc-pl030.c
@@
-35,11
+35,6
@@
static irqreturn_t pl030_interrupt(int irq, void *dev_id)
return IRQ_HANDLED;
}
return IRQ_HANDLED;
}
-static int pl030_ioctl(struct device *dev, unsigned int cmd, unsigned long arg)
-{
- return -ENOIOCTLCMD;
-}
-
static int pl030_read_alarm(struct device *dev, struct rtc_wkalrm *alrm)
{
struct pl030_rtc *rtc = dev_get_drvdata(dev);
static int pl030_read_alarm(struct device *dev, struct rtc_wkalrm *alrm)
{
struct pl030_rtc *rtc = dev_get_drvdata(dev);
@@
-96,14
+91,13
@@
static int pl030_set_time(struct device *dev, struct rtc_time *tm)
}
static const struct rtc_class_ops pl030_ops = {
}
static const struct rtc_class_ops pl030_ops = {
- .ioctl = pl030_ioctl,
.read_time = pl030_read_time,
.set_time = pl030_set_time,
.read_alarm = pl030_read_alarm,
.set_alarm = pl030_set_alarm,
};
.read_time = pl030_read_time,
.set_time = pl030_set_time,
.read_alarm = pl030_read_alarm,
.set_alarm = pl030_set_alarm,
};
-static int pl030_probe(struct amba_device *dev, struct amba_id *id)
+static int pl030_probe(struct amba_device *dev,
const
struct amba_id *id)
{
struct pl030_rtc *rtc;
int ret;
{
struct pl030_rtc *rtc;
int ret;