summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2015-05-29 19:54:02 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-05-30 03:17:15 +0300
commitdb874c7e10557f8f1af9a6fb1ec6589ae06f349c (patch)
treede4f7b24007d0f2a0a24768f7ff98864d79d0ae6 /include
parent4990d4fe327b9d9a7a3be7103a82699406fdde69 (diff)
downloadlinux-db874c7e10557f8f1af9a6fb1ec6589ae06f349c.tar.xz
PM / wakeirq: Fix typo in prototype for dev_pm_set_dedicated_wake_irq
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 <jim.epost@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pm_wakeirq.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/pm_wakeirq.h b/include/linux/pm_wakeirq.h
index 4046fa1b7d25..cd5b62db9084 100644
--- a/include/linux/pm_wakeirq.h
+++ b/include/linux/pm_wakeirq.h
@@ -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;
}