]> git.baikalelectronics.ru Git - kernel.git/commit
regmap: Add another missing header for !CONFIG_REGMAP stubs
authorKevin Hilman <khilman@linaro.org>
Wed, 14 Aug 2013 23:05:02 +0000 (16:05 -0700)
committerMark Brown <broonie@linaro.org>
Thu, 15 Aug 2013 11:08:55 +0000 (12:08 +0100)
commit5c0459ff59c14fe8b2e7ad0990ebf2ebcf584b19
tree081b59556d0b190d47b8d85e1a73d461153dd975
parente5b409e9bb5c0a59f3e007a87aa07957c673447f
regmap: Add another missing header for !CONFIG_REGMAP stubs

The use of WARN_ON() needs the definitions from bug.h, without it
you can get:

include/linux/regmap.h: In function 'regmap_write':
include/linux/regmap.h:525:2: error: implicit declaration of function 'WARN_ONCE' [-Werror=implicit-function-declaration]

Signed-off-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
include/linux/regmap.h