git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mfd: add #ifdef CONFIG_DEBUG_FS guard for ab8500_debug_resources
[pandora-kernel.git]
/
drivers
/
mfd
/
ab8500-core.c
diff --git
a/drivers/mfd/ab8500-core.c
b/drivers/mfd/ab8500-core.c
index
1e91738
..
d3d572b
100644
(file)
--- a/
drivers/mfd/ab8500-core.c
+++ b/
drivers/mfd/ab8500-core.c
@@
-620,6
+620,7
@@
static struct resource __devinitdata ab8500_fg_resources[] = {
static struct resource __devinitdata ab8500_chargalg_resources[] = {};
static struct resource __devinitdata ab8500_chargalg_resources[] = {};
+#ifdef CONFIG_DEBUG_FS
static struct resource __devinitdata ab8500_debug_resources[] = {
{
.name = "IRQ_FIRST",
static struct resource __devinitdata ab8500_debug_resources[] = {
{
.name = "IRQ_FIRST",
@@
-634,6
+635,7
@@
static struct resource __devinitdata ab8500_debug_resources[] = {
.flags = IORESOURCE_IRQ,
},
};
.flags = IORESOURCE_IRQ,
},
};
+#endif
static struct resource __devinitdata ab8500_usb_resources[] = {
{
static struct resource __devinitdata ab8500_usb_resources[] = {
{