]> git.baikalelectronics.ru Git - kernel.git/commit
regmap: Add missing header for !CONFIG_REGMAP stubs
authorMateusz Krawczuk <m.krawczuk@partner.samsung.com>
Tue, 6 Aug 2013 16:34:40 +0000 (18:34 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 6 Aug 2013 18:49:46 +0000 (19:49 +0100)
commit180e69953ababe68cf24168e159c377e1a9d03bd
tree7952460d4af8a7cf7e152fc1732601be7c22ce66
parentd33c3cb0da597300ed26282fd9cb264be06085c0
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 <m.krawczuk@partner.samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@kernel.org
include/linux/regmap.h