Commit:     d0c4581b68922157da4e8071781b210043839a74
Parent:     3defd0ee74b8bec6977a34aae99939af6c007f84
Author:     Peter Korsgaard <[EMAIL PROTECTED]>
AuthorDate: Wed Nov 21 15:28:06 2007 +0100
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Fri Nov 23 22:09:00 2007 -0500

    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: Jeff Garzik <[EMAIL PROTECTED]>
 drivers/net/smc911x.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h
index 16a0edc..d04e4fa 100644
--- a/drivers/net/smc911x.h
+++ b/drivers/net/smc911x.h
@@ -37,7 +37,7 @@
   #define SMC_USE_16BIT                0
   #define SMC_USE_32BIT                1
   #define SMC_IRQ_SENSE                IRQF_TRIGGER_FALLING
+#elif defined(CONFIG_SH_MAGIC_PANEL_R2)
   #define SMC_USE_SH_DMA       0
   #define SMC_USE_16BIT                0
   #define SMC_USE_32BIT                1
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to