Browse Source

blackfin: bf537: fix typo "CONFIG_SND_SOC_ADV80X_MODULE"

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>
Paul Bolle 12 years ago
parent
commit
cb8f05f74f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/blackfin/mach-bf537/boards/stamp.c

+ 1 - 1
arch/blackfin/mach-bf537/boards/stamp.c

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