diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-07-30 01:29:48 (GMT) |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-08-20 12:28:02 (GMT) |
commit | 72ef8e4b3bff21e62bba82c40d7b412a305c3a78 (patch) | |
tree | 4fcfa3d1680e8552e4e9281e9304a4546bda8825 /drivers/mfd/ab8500-core.c | |
parent | 6065c9a472cc1a3c66a0a6a2b1b4143558c1361e (diff) | |
download | linux-72ef8e4b3bff21e62bba82c40d7b412a305c3a78.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index ce48aa7..bde2fc0 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; |