diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2011-10-12 16:51:22 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-03 16:33:54 -0400 |
commit | 8c4343e5909f956140229b0d960dc7a9c4fd4bdd (patch) | |
tree | 6c21ed2547580ff1492447554817a5df64d402cb /drivers | |
parent | 94f3f48f90f77e3bfcafce9b259086cfebcd166d (diff) |
[media] media: tea5764: reconcile Kconfig symbol and macro
The Kconfig symbol RADIO_TEA5764_XTAL is unused. The code does use a
RADIO_TEA5764_XTAL macro, but does that rather peculiar. But there seems
to be a way to keep both. (The easiest way out would be to rip out both
the Kconfig symbol and the macro.)
Note there's also a module parameter 'use_xtal' to influence all this.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/radio/radio-tea5764.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-tea5764.c b/drivers/media/radio/radio-tea5764.c index 95ddcc4845d3..db20904d01f0 100644 --- a/drivers/media/radio/radio-tea5764.c +++ b/drivers/media/radio/radio-tea5764.c | |||
@@ -128,8 +128,10 @@ struct tea5764_write_regs { | |||
128 | u16 rdsbbl; /* PAUSEDET & RDSBBL */ | 128 | u16 rdsbbl; /* PAUSEDET & RDSBBL */ |
129 | } __attribute__ ((packed)); | 129 | } __attribute__ ((packed)); |
130 | 130 | ||
131 | #ifndef RADIO_TEA5764_XTAL | 131 | #ifdef CONFIG_RADIO_TEA5764_XTAL |
132 | #define RADIO_TEA5764_XTAL 1 | 132 | #define RADIO_TEA5764_XTAL 1 |
133 | #else | ||
134 | #define RADIO_TEA5764_XTAL 0 | ||
133 | #endif | 135 | #endif |
134 | 136 | ||
135 | static int radio_nr = -1; | 137 | static int radio_nr = -1; |