PM / wakeirq: Fix typo in prototype for dev_pm_set_dedicated_wake_irq
authorTony Lindgren <[email protected]>
Fri, 29 May 2015 16:54:02 +0000 (09:54 -0700)
committerRafael J. Wysocki <[email protected]>
Sat, 30 May 2015 00:17:15 +0000 (02:17 +0200)
Looks like I only built test the dev_pm_set_wake_irq and not the
dev_pm_set_dedicated_wake_irq case on x86.

Turns out there's a typo for the dev_pm_set_dedicated_wake_irq
prototype that causes a build error if CONFIG_COMPILE_TEST
and CONFIG_MMC_OMAP_HS are selected.

Reported-by: Jim Davis <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Reviewed-by: Felipe Balbi <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
include/linux/pm_wakeirq.h

index 4046fa1b7d2542ebd1e5a00e3ac8686f53fbb3a7..cd5b62db908454dc7f7fe2acc9479c467e1a1f67 100644 (file)
@@ -30,8 +30,7 @@ static inline int dev_pm_set_wake_irq(struct device *dev, int irq)
        return 0;
 }
 
-static inline int dev_pm_set_dedicated__wake_irq(struct device *dev,
-                                                int irq)
+static inline int dev_pm_set_dedicated_wake_irq(struct device *dev, int irq)
 {
        return 0;
 }