From: Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
To: broonie@kernel.org
Cc: linux-kernel@vger.kernel.org, t.figa@samsung.com,
s.nawrocki@samsung.com,
Mateusz Krawczuk <m.krawczuk@partner.samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>
Subject: [PATCH] Regmap: Add missing header
Date: Tue, 06 Aug 2013 18:34:40 +0200 [thread overview]
Message-ID: <1375806880-13068-1-git-send-email-m.krawczuk@partner.samsung.com> (raw)
regmap.h requires linux/err.h if CONFIG_REGMAP is not defined. Without it I get
error.
CC drivers/media/platform/exynos4-is/fimc-reg.o
In file included from drivers/media/platform/exynos4-is/fimc-reg.c:14:0:
include/linux/regmap.h: In function ‘regmap_write’:
include/linux/regmap.h:525:10: error: ‘EINVAL’ undeclared (first use in this function)
include/linux/regmap.h:525:10: note: each undeclared identifier is reported only once for each function it appears in
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
---
include/linux/regmap.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index a3c68aa..bafda87 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -15,6 +15,7 @@
#include <linux/list.h>
#include <linux/rbtree.h>
+#include <linux/err.h>
struct module;
struct device;
--
1.7.9.5
next reply other threads:[~2013-08-06 16:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-06 16:34 Mateusz Krawczuk [this message]
2013-08-06 18:47 ` Mark Brown
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=1375806880-13068-1-git-send-email-m.krawczuk@partner.samsung.com \
--to=m.krawczuk@partner.samsung.com \
--cc=broonie@kernel.org \
--cc=kyungmin.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=s.nawrocki@samsung.com \
--cc=t.figa@samsung.com \
/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 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®