rtc-pl030.c (7483d45f0aee3afc0646d185cabd4af9f6cab58c) rtc-pl030.c (2f6e5f9458646263d3d9ffadd5e11e3d8d15a7d0)
1/*
2 * linux/drivers/rtc/rtc-pl030.c
3 *
4 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 109 unchanged lines hidden (view full) ---

118 goto err_map;
119 }
120
121 __raw_writel(0, rtc->base + RTC_CR);
122 __raw_writel(0, rtc->base + RTC_EOI);
123
124 amba_set_drvdata(dev, rtc);
125
1/*
2 * linux/drivers/rtc/rtc-pl030.c
3 *
4 * Copyright (C) 2000-2001 Deep Blue Solutions Ltd.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 109 unchanged lines hidden (view full) ---

118 goto err_map;
119 }
120
121 __raw_writel(0, rtc->base + RTC_CR);
122 __raw_writel(0, rtc->base + RTC_EOI);
123
124 amba_set_drvdata(dev, rtc);
125
126 ret = request_irq(dev->irq[0], pl030_interrupt, IRQF_DISABLED,
126 ret = request_irq(dev->irq[0], pl030_interrupt, 0,
127 "rtc-pl030", rtc);
128 if (ret)
129 goto err_irq;
130
131 rtc->rtc = rtc_device_register("pl030", &dev->dev, &pl030_ops,
132 THIS_MODULE);
133 if (IS_ERR(rtc->rtc)) {
134 ret = PTR_ERR(rtc->rtc);

--- 69 unchanged lines hidden ---
127 "rtc-pl030", rtc);
128 if (ret)
129 goto err_irq;
130
131 rtc->rtc = rtc_device_register("pl030", &dev->dev, &pl030_ops,
132 THIS_MODULE);
133 if (IS_ERR(rtc->rtc)) {
134 ret = PTR_ERR(rtc->rtc);

--- 69 unchanged lines hidden ---