[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101026.082637.193705328.davem@davemloft.net>
Date: Tue, 26 Oct 2010 08:26:37 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: elvis.dowson@....com
Cc: linux-kernel@...r.kernel.org, luciano.coelho@...ia.com
Subject: Re: #ifdef CONFIG_ checks not working
From: Elvis Dowson <elvis.dowson@....com>
Date: Tue, 26 Oct 2010 18:28:22 +0400
> #ifdef CONFIG_WL1271
> printk(KERN_INFO "%s: CONFIG_WL1271 detected\n", __func__);
> #else
> printk(KERN_INFO "%s: CONFIG_WL1271 not detected\n", __func__);
> #endif
If you set WL1271=m then CONFIG_WL1271_MODULE will be set, not
CONFIG_WL1271.
The latter will only be set if you enable the option with "y".
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists