Commit:     d7827d889ab9c7275668f2ce7978b317ca1e11a6
Parent:     5c236343eb558e3cf3bbffd0688f5518f8b9028a
Author:     Mike Frysinger <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 6 01:38:47 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Feb 6 10:41:13 2008 -0800

    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]>
 drivers/rtc/rtc-bfin.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/rtc/rtc-bfin.c b/drivers/rtc/rtc-bfin.c
index 303ed6e..2a801f2 100644
--- a/drivers/rtc/rtc-bfin.c
+++ b/drivers/rtc/rtc-bfin.c
@@ -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;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to