Skip to contentSkip to conversation

drivers/media/radio: Fix build error

PATCH In review Tracey Dent 1 participant 2 messages Apr 1, 2012 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drivers/media/radio: Fix build error

radio-maxiradio depends on SND_FM801_TEA575X_BOOL to build or will result in an build error such as:

Kernel: arch/x86/boot/bzImage is ready (#1)
ERROR: "snd_tea575x_init" [drivers/media/radio/radio-maxiradio.ko] undefined!
ERROR: "snd_tea575x_exit" [drivers/media/radio/radio-maxiradio.ko] undefined!
WARNING: modpost: Found 6 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Select CONFIG_SND_TEA575X to fixes problem and enable the driver to be built as desired.

v2:
instead of selecting CONFIG_SND_FM801_TEA575X_BOOL, select CONFIG_SND_TEA575X, which in turns selects CONFIG_SND_FM801_TEA575X_BOOL and any other dependencies.

---
 drivers/media/radio/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/media/radio/Kconfig +2 -2
index 25025e0..a49a4ea 100644
@@ -43,8 +43,8 @@ config USB_DSBR
 
 config RADIO_MAXIRADIO
 	tristate "Guillemot MAXI Radio FM 2000 radio"
-	depends on VIDEO_V4L2 && PCI && SND
-	select SND_FM801_TEA575X_BOOL
+	depends on VIDEO_V4L2 && PCI && SND 
+	select SND_TEA575X
 	---help---
 	  Choose Y here if you have this radio card.  This card may also be
 	  found as Gemtek PCI FM.
Signature · 1 line
1.7.9.2.358.g22243
#1 lore raw

I'm so sorry for all the noise. I recently set up git on a new laptop and I sis not configure it correctly. Can everybody disregard this thread and I sent a new patch in a new thread thread which should fix suggested issue[1].

Once again sorry.

[1]: https://lkml.org/lkml/2012/4/1/175