Re: [PATCH] PM: Fix build due to missing notifier header

From: Rafael J. Wysocki
Date: Fri Aug 19 2011 - 18:13:50 EST


On Friday, August 19, 2011, Mark Brown wrote:
> 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.

Thanks for the patch, but it should be fixed in the linux-pm tree
already.

Rafael


> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> include/linux/pm_clock.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/pm_clock.h b/include/linux/pm_clock.h
> index f888013..8348866 100644
> --- a/include/linux/pm_clock.h
> +++ b/include/linux/pm_clock.h
> @@ -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;
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/