* [PATCH] Regmap: Add missing header
@ 2013-08-06 16:34 Mateusz Krawczuk
2013-08-06 18:47 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Mateusz Krawczuk @ 2013-08-06 16:34 UTC (permalink / raw)
To: broonie; +Cc: linux-kernel, t.figa, s.nawrocki, Mateusz Krawczuk, Kyungmin Park
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Regmap: Add missing header
2013-08-06 16:34 [PATCH] Regmap: Add missing header Mateusz Krawczuk
@ 2013-08-06 18:47 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-08-06 18:47 UTC (permalink / raw)
To: Mateusz Krawczuk; +Cc: linux-kernel, t.figa, s.nawrocki, Kyungmin Park
[-- Attachment #1: Type: text/plain, Size: 175 bytes --]
On Tue, Aug 06, 2013 at 06:34:40PM +0200, Mateusz Krawczuk wrote:
> regmap.h requires linux/err.h if CONFIG_REGMAP is not defined. Without it I get
> error.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-06 18:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-06 16:34 [PATCH] Regmap: Add missing header Mateusz Krawczuk
2013-08-06 18:47 ` Mark Brown
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®