lkml.org 
[lkml]   [2011]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] PM: Fix build due to missing notifier header
Date
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


\
 
 \ /
  Last update: 2011-08-20 00:13    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog