diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-07-30 03:29:48 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-08-20 14:28:02 +0200 |
commit | 72ef8e4b3bff21e62bba82c40d7b412a305c3a78 (patch) | |
tree | 4fcfa3d1680e8552e4e9281e9304a4546bda8825 | |
parent | mfd: htc-i2cpld: Fix %d confusingly prefixed with 0x in format string (diff) | |
download | linux-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>
-rw-r--r-- | drivers/mfd/ab8500-core.c | 2 |
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; |