summaryrefslogtreecommitdiffstats
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorKevin Hilman2013-08-15 01:05:02 +0200
committerMark Brown2013-08-15 13:08:55 +0200
commit3f0fa9a808f98fa10a18ba2a73f13d65fda990fb (patch)
tree081b59556d0b190d47b8d85e1a73d461153dd975 /include/linux/regmap.h
parentLinux 3.11-rc5 (diff)
downloadkernel-qcow2-linux-3f0fa9a808f98fa10a18ba2a73f13d65fda990fb.tar.gz
kernel-qcow2-linux-3f0fa9a808f98fa10a18ba2a73f13d65fda990fb.tar.xz
kernel-qcow2-linux-3f0fa9a808f98fa10a18ba2a73f13d65fda990fb.zip
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
Diffstat (limited to 'include/linux/regmap.h')
-rw-r--r--include/linux/regmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index 580a5320cc96..6d91fcb4c5cb 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -16,6 +16,7 @@
#include <linux/list.h>
#include <linux/rbtree.h>
#include <linux/err.h>
+#include <linux/bug.h>
struct module;
struct device;