mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] PM: Fix build due to missing notifier header
@ 2011-08-19  8:43 Mark Brown
  2011-08-19 22:15 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2011-08-19  8:43 UTC (permalink / raw)
  To: Rafael J. Wysocki"; +Cc: linux-kernel, patches, Mark Brown

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 <broonie@opensource.wolfsonmicro.com>
---
 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;
-- 
1.7.5.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] PM: Fix build due to missing notifier header
  2011-08-19  8:43 [PATCH] PM: Fix build due to missing notifier header Mark Brown
@ 2011-08-19 22:15 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2011-08-19 22:15 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-kernel, patches

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@opensource.wolfsonmicro.com>
> ---
>  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;
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-19 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-19  8:43 [PATCH] PM: Fix build due to missing notifier header Mark Brown
2011-08-19 22:15 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®