Sfoglia il codice sorgente

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>
Fabio Estevam 11 anni fa
parent
commit
72ef8e4b3b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      drivers/mfd/ab8500-core.c

+ 1 - 1
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;