Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0c4581b authored by Peter Korsgaard's avatar Peter Korsgaard Committed by Jeff Garzik
Browse files

smc911x: Fix undefined CONFIG_ symbol warning



elif defined(CONFIG_*) should be used instead of elif CONFIG_*
so GCC doesn't give warnings about undefined symbols when the config
option is disabled.

Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 3defd0ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -37,7 +37,7 @@
  #define SMC_USE_16BIT		0
  #define SMC_USE_16BIT		0
  #define SMC_USE_32BIT		1
  #define SMC_USE_32BIT		1
  #define SMC_IRQ_SENSE		IRQF_TRIGGER_FALLING
  #define SMC_IRQ_SENSE		IRQF_TRIGGER_FALLING
#elif CONFIG_SH_MAGIC_PANEL_R2
#elif defined(CONFIG_SH_MAGIC_PANEL_R2)
  #define SMC_USE_SH_DMA	0
  #define SMC_USE_SH_DMA	0
  #define SMC_USE_16BIT		0
  #define SMC_USE_16BIT		0
  #define SMC_USE_32BIT		1
  #define SMC_USE_32BIT		1