From: Mateusz Krawczuk Date: Tue, 6 Aug 2013 16:34:40 +0000 (+0200) Subject: regmap: Add missing header for !CONFIG_REGMAP stubs X-Git-Tag: v3.11-rc5~23^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49ccc142f9cbc33fdda18e8fa90c1c5b4a79c0ad;p=pandora-kernel.git regmap: Add missing header for !CONFIG_REGMAP stubs 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: Mateusz Krawczuk Signed-off-by: Kyungmin Park Signed-off-by: Mark Brown Cc: stable@kernel.org --- Reading git-diff-tree failed