diff options
author | Govindraj Raja <Govindraj.Raja@imgtec.com> | 2016-02-08 16:38:53 +0000 |
---|---|---|
committer | Govindraj Raja <Govindraj.Raja@imgtec.com> | 2016-02-08 16:38:53 +0000 |
commit | 1dea0d2629aa8f05c84718a871e8144d2f825d92 (patch) | |
tree | 5b3ea75c2a775fa23cba13f9f4e350ab3ecb86af | |
parent | 279f427646d6d92fd1c12ac7ba259a734ea8e0b3 (diff) | |
download | v4.1-1dea0d2629aa8f05c84718a871e8144d2f825d92.tar.gz |
rtc: pistachio: remove __init for probe
__init should be used for module init not for probe
this will cause section mismatch warning since probe is
not part of the init section.
Change-Id: I8c0f7ddfcbda7f6e5fea71ffab22724d1baa2abb
Signed-off-by: Govindraj Raja <Govindraj.Raja@imgtec.com>
-rw-r--r-- | drivers/rtc/rtc-pistachio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-pistachio.c b/drivers/rtc/rtc-pistachio.c index 1ebbcc8f7ea..8d8794fbbd1 100644 --- a/drivers/rtc/rtc-pistachio.c +++ b/drivers/rtc/rtc-pistachio.c @@ -315,7 +315,7 @@ static irqreturn_t pistachio_alarm_handler(int irq, void *dev) return IRQ_HANDLED; } -static int __init pistachio_rtc_probe(struct platform_device *pdev) +static int pistachio_rtc_probe(struct platform_device *pdev) { struct pistachio_rtc *priv; struct regmap *periph_regs; |