Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb1f9587 authored by Linus Walleij's avatar Linus Walleij Committed by Lee Jones
Browse files

mfd: ab8500-debug: Add explicit dependencies



As I am working on SPARSE_IRQ a number of implicit resource
grabs in the kernel become evident. For example, some includes
like <linux/irqs.h> would implicitly include <mach/irqs.h>
and then from there <mach/db8500-regs.h>.

In many cases it is masking the fact that drivers do not
properly use resources to pass their dependencies, base
addresses etc. So write explicit #include statements with
TODO items to have this fixed the proper way to all drivers
doing this.

Signed-off-by: default avatarLinus Walleij <linus.walleij@stericsson.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Reviewed-by: default avatarPhilippe LANGLAIS <philippe.langlais@stericsson.com>
Acked-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 9ee17676
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -91,6 +91,9 @@
#include <linux/ctype.h>
#include <linux/ctype.h>
#endif
#endif


/* TODO: this file should not reference IRQ_DB8500_AB8500! */
#include <mach/irqs.h>

static u32 debug_bank;
static u32 debug_bank;
static u32 debug_address;
static u32 debug_address;