projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6065c9a
)
mfd: ab8500-core: Use 'ifdef' for config options
author
Fabio Estevam
<fabio.estevam@freescale.com>
Wed, 30 Jul 2014 01:29:48 +0000
(22:29 -0300)
committer
Lee Jones
<lee.jones@linaro.org>
Wed, 20 Aug 2014 12:28:02 +0000
(13:28 +0100)
The config symbol 'CONFIG_DEBUG_FS' should be protected by a 'ifdef' instead
of a plain 'if'.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ab8500-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/ab8500-core.c
b/drivers/mfd/ab8500-core.c
index ce48aa72bb429ef724eb4f15cb695e9c70d3a8e2..bde2fc0724103a26864476cb27e0718c3937e2a9 100644
(file)
--- a/
drivers/mfd/ab8500-core.c
+++ b/
drivers/mfd/ab8500-core.c
@@
-1754,7
+1754,7
@@
static int ab8500_probe(struct platform_device *pdev)
if (ret)
return ret;
-#if CONFIG_DEBUG_FS
+#if
def
CONFIG_DEBUG_FS
/* Pass to debugfs */
ab8500_debug_resources[0].start = ab8500->irq;
ab8500_debug_resources[0].end = ab8500->irq;