blackfin: bf537: fix typo "CONFIG_SND_SOC_ADV80X_MODULE"
authorPaul Bolle <pebolle@tiscali.nl>
Fri, 8 Mar 2013 12:06:13 +0000 (13:06 +0100)
committerSteven Miao <realmz6@gmail.com>
Sat, 12 Apr 2014 00:47:56 +0000 (08:47 +0800)
There's a (rather subtle) typo in "CONFIG_SND_SOC_ADV80X_MODULE". Fix it
once and for all by using IS_ENABLED(), which is designed to avoid
issues like this.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
arch/blackfin/mach-bf537/boards/stamp.c

index 44fd1d4682ac3f3e411acfcf728cb74011f163d4..50c2b0a52475932a5073f80dddcd1b5e03479b8b 100644 (file)
@@ -986,7 +986,7 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
        },
 #endif
 
-#if defined(CONFIG_SND_SOC_ADAV80X) || defined(CONFIG_SND_SOC_ADV80X_MODULE)
+#if IS_ENABLED(CONFIG_SND_SOC_ADAV80X)
        {
                .modalias = "adav801",
                .max_speed_hz = 3125000,     /* max spi clock (SCK) speed in HZ */