diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-02-07 02:23:01 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-02-14 03:24:07 +0400 |
commit | 0cd5b6d08c7bf8b2d81eb1413ea1463cc72487b1 (patch) | |
tree | afcf9ce9dfb358e6cce06473c780d1ede3d1b9d6 /drivers/mfd/ab8500-debugfs.c | |
parent | 21f792cde17f71091252540b79e9312a8d1a7ac2 (diff) | |
download | linux-0cd5b6d08c7bf8b2d81eb1413ea1463cc72487b1.tar.xz |
mfd: ab8500: Fix compile error
When compiling the AB8500 core driver in the latest
MFD tree the following happens:
CC drivers/mfd/ab8500-debugfs.o
/home/elinwal/linux-next/drivers/mfd/ab8500-debugfs.c:157:3: error: 'AB8500_SYS_CTRL1_BLOCK' undeclared here (not in a function)
/home/elinwal/linux-next/drivers/mfd/ab8500-debugfs.c:157:2: error: array index in initializer not of integer type
/home/elinwal/linux-next/drivers/mfd/ab8500-debugfs.c:157:2: error: (near initialization for 'debug_ranges')
(...)
This is due to a missing include statement, so fix
it up.
Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/ab8500-debugfs.c')
-rw-r--r-- | drivers/mfd/ab8500-debugfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index ba25f95e1677..45fe3c50eb03 100644 --- a/drivers/mfd/ab8500-debugfs.c +++ b/drivers/mfd/ab8500-debugfs.c @@ -82,6 +82,7 @@ #include <linux/slab.h> #include <linux/mfd/abx500.h> +#include <linux/mfd/abx500/ab8500.h> #include <linux/mfd/abx500/ab8500-gpadc.h> #ifdef CONFIG_DEBUG_FS |