Commit 0cd5b6d08c7bf8b2d81eb1413ea1463cc72487b1

Authored by Linus Walleij
Committed by Samuel Ortiz
1 parent 21f792cde1

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/mfd/ab8500-debugfs.c
... ... @@ -82,6 +82,7 @@
82 82 #include <linux/slab.h>
83 83  
84 84 #include <linux/mfd/abx500.h>
  85 +#include <linux/mfd/abx500/ab8500.h>
85 86 #include <linux/mfd/abx500/ab8500-gpadc.h>
86 87  
87 88 #ifdef CONFIG_DEBUG_FS