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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Sep 2013 05:09:58 +0000 (22:09 -0700)
commitf1179e006ed4315834bdbf0982b40f7029cf0977
tree7ceab0b9c8e68c144caa02f9eb22d04a1bec0cc0
parentff2b0a7db98e7ffdfafb667e60c25f07e9959737
regmap: Add another missing header for !CONFIG_REGMAP stubs

commit 3f0fa9a808f98fa10a18ba2a73f13d65fda990fb upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/regmap.h