Skip to content

Commit

Permalink
mfd: ab8500-core: Use 'ifdef' for config options
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Lee Jones committed Aug 20, 2014
1 parent 6065c9a commit 72ef8e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/ab8500-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 72ef8e4

Please sign in to comment.