[media] media: tea5764: reconcile Kconfig symbol and macro
[pandora-kernel.git] / drivers / media / radio / radio-tea5764.c
index 95ddcc4..db20904 100644 (file)
@@ -128,8 +128,10 @@ struct tea5764_write_regs {
        u16 rdsbbl;                             /* PAUSEDET & RDSBBL */
 } __attribute__ ((packed));
 
-#ifndef RADIO_TEA5764_XTAL
+#ifdef CONFIG_RADIO_TEA5764_XTAL
 #define RADIO_TEA5764_XTAL 1
+#else
+#define RADIO_TEA5764_XTAL 0
 #endif
 
 static int radio_nr = -1;