summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2013-08-14 16:05:02 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-07 22:09:58 -0700
commitf1179e006ed4315834bdbf0982b40f7029cf0977 (patch)
tree7ceab0b9c8e68c144caa02f9eb22d04a1bec0cc0 /include
parentff2b0a7db98e7ffdfafb667e60c25f07e9959737 (diff)
downloadlinux-3.10-f1179e006ed4315834bdbf0982b40f7029cf0977.tar.gz
linux-3.10-f1179e006ed4315834bdbf0982b40f7029cf0977.tar.bz2
linux-3.10-f1179e006ed4315834bdbf0982b40f7029cf0977.zip
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>
Diffstat (limited to 'include')
-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 f91bb416122..98c470ced98 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;