diff options
author | Kevin Hilman <khilman@linaro.org> | 2013-08-14 19:05:02 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-08 01:09:58 -0400 |
commit | f1179e006ed4315834bdbf0982b40f7029cf0977 (patch) | |
tree | 7ceab0b9c8e68c144caa02f9eb22d04a1bec0cc0 /include/linux/regmap.h | |
parent | ff2b0a7db98e7ffdfafb667e60c25f07e9959737 (diff) |
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/linux/regmap.h')
-rw-r--r-- | include/linux/regmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index f91bb416122d..98c470ced989 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/list.h> | 16 | #include <linux/list.h> |
17 | #include <linux/rbtree.h> | 17 | #include <linux/rbtree.h> |
18 | #include <linux/err.h> | 18 | #include <linux/err.h> |
19 | #include <linux/bug.h> | ||
19 | 20 | ||
20 | struct module; | 21 | struct module; |
21 | struct device; | 22 | struct device; |