mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Blackfin RTC driver: we pass in a (struct device*) to the irq handler, not a (struct platform_device*), so fix the irq handler
Signed-off-by: Mike Frysinger <[email protected]> Signed-off-by: Bryan Wu <[email protected]> Acked-by: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
5c236343eb
commit
d7827d889a
1 changed files with 2 additions and 2 deletions
|
|
@ -144,8 +144,8 @@ static void rtc_bfin_reset(struct bfin_rtc *rtc)
|
|||
|
||||
static irqreturn_t bfin_rtc_interrupt(int irq, void *dev_id)
|
||||
{
|
||||
struct platform_device *pdev = to_platform_device(dev_id);
|
||||
struct bfin_rtc *rtc = platform_get_drvdata(pdev);
|
||||
struct device *dev = dev_id;
|
||||
struct bfin_rtc *rtc = dev_get_drvdata(dev);
|
||||
unsigned long events = 0;
|
||||
u16 rtc_istat;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue