Merge branch 'sh/multi-unwinders' into sh-latest
[linux-2.6-block.git] / drivers / rtc / rtc-wm831x.c
index 3b6e6a67e765b34e7efd7e5cb82eea63a930d31e..59c6245e0421f21a70548108a2607ebdaa4bbd33 100644 (file)
@@ -396,7 +396,7 @@ static int wm831x_rtc_probe(struct platform_device *pdev)
 {
        struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
        struct wm831x_rtc *wm831x_rtc;
-       int alm_irq = platform_get_irq_byname(pdev, "ALM");
+       int alm_irq = wm831x_irq(wm831x, platform_get_irq_byname(pdev, "ALM"));
        int ret = 0;
 
        wm831x_rtc = devm_kzalloc(&pdev->dev, sizeof(*wm831x_rtc), GFP_KERNEL);