PM: Fix build due to missing notifier header
PATCH 1/1 PM: Fix build due to missing notifier header
pm_clock.h uses a struct notifier_block without including notifier.h which appears to have caused it to fall victim to some of the current header reorganisations in -next. Fix the resulting build failures.
Signed-off-by Mark Brown <[email protected]>
--- include/linux/pm_clock.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/pm_clock.h +1 -0
@@ -10,6 +10,7 @@#define _LINUX_PM_CLOCK_H#include <linux/device.h> +#include <linux/notifier.h> struct pm_clk_notifier_block {struct notifier_block nb;
Signature · 1 line
1.7.5.4
Quoted 3 lines · Mark Brown
pm_clock.huses a structnotifier_blockwithout includingnotifier.hwhich appears to have caused it to fall victim to some of the current header reorganisations in -next. Fix the resulting build failures.
Thanks for the patch, but it should be fixed in the linux-pm tree already.
Rafael
Quoted 18 lines
Signed-off-by Mark Brown <[email protected]>--- include/linux/pm_clock.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)include/linux/pm_clock.h +1
-0@@ -10,6 +10,7 @@#define _LINUX_PM_CLOCK_H#include <linux/device.h> +#include <linux/notifier.h> struct pm_clk_notifier_block {struct notifier_block nb;