summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab8500-core.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-07-30 03:29:48 +0200
committerLee Jones <lee.jones@linaro.org>2014-08-20 14:28:02 +0200
commit72ef8e4b3bff21e62bba82c40d7b412a305c3a78 (patch)
tree4fcfa3d1680e8552e4e9281e9304a4546bda8825 /drivers/mfd/ab8500-core.c
parentmfd: htc-i2cpld: Fix %d confusingly prefixed with 0x in format string (diff)
downloadlinux-72ef8e4b3bff21e62bba82c40d7b412a305c3a78.tar.xz
linux-72ef8e4b3bff21e62bba82c40d7b412a305c3a78.zip
mfd: ab8500-core: Use 'ifdef' for config options
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>
Diffstat (limited to 'drivers/mfd/ab8500-core.c')
-rw-r--r--drivers/mfd/ab8500-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c
index ce48aa72bb42..bde2fc072410 100644
--- 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
+#ifdef CONFIG_DEBUG_FS
/* Pass to debugfs */
ab8500_debug_resources[0].start = ab8500->irq;
ab8500_debug_resources[0].end = ab8500->irq;