]> err.no Git - linux-2.6/blobdiff - drivers/net/smc911x.h
smc911x: Fix undefined CONFIG_ symbol warning
[linux-2.6] / drivers / net / smc911x.h
index 16a0edc078fd370b7995d98cbe331aff8cc26785..d04e4fa35206b888d1d65e724d2baf38af1dd3c9 100644 (file)
@@ -37,7 +37,7 @@
   #define SMC_USE_16BIT                0
   #define SMC_USE_32BIT                1
   #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_16BIT                0
   #define SMC_USE_32BIT                1