From: Axel Lin <axel.lin@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Subject: [PATCH] PM: pm_clock.h needs to include linux/notifier.h
Date: Fri, 19 Aug 2011 10:04:46 +0800 [thread overview]
Message-ID: <1313719486.20874.1.camel@phoenix> (raw)
This patch fixes below build error:
CC drivers/base/power/clock_ops.o
In file included from drivers/base/power/clock_ops.c:13:
include/linux/pm_clock.h:15: error: field 'nb' has incomplete type
drivers/base/power/clock_ops.c: In function 'pm_clk_notify':
drivers/base/power/clock_ops.c:437: warning: type defaults to 'int' in declaration of '__mptr'
drivers/base/power/clock_ops.c:437: warning: initialization from incompatible pointer type
make[3]: *** [drivers/base/power/clock_ops.o] Error 1
make[2]: *** [drivers/base/power] Error 2
make[1]: *** [drivers/base] Error 2
make: *** [drivers] Error 2
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
This patch is against linux-next next-20110818.
Axel
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.4.1
next reply other threads:[~2011-08-19 2:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-19 2:04 Axel Lin [this message]
2011-08-19 22:00 ` [PATCH] PM: pm_clock.h needs to include linux/notifier.h Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1313719486.20874.1.camel@phoenix \
--to=axel.lin@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.