Skip to content

Commit

Permalink
PM / wakeirq: Fix typo in prototype for dev_pm_set_dedicated_wake_irq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tony Lindgren authored and Rafael J. Wysocki committed May 30, 2015
1 parent 4990d4f commit db874c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/linux/pm_wakeirq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit db874c7

Please sign in to comment.