linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tracey Dent <tdent48227@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: shea@shealevy.com, torvalds@linux-foundation.org,
	mchehab@infradead.org, hans.verkuil@cisco.com,
	linux-media@vger.kernel.org, Tracey Dent <tdent48227@gmail.com>
Subject: [PATCH 1/1] Drivers/media/radio: Fix build error
Date: Sun,  1 Apr 2012 15:09:34 -0400	[thread overview]
Message-ID: <1333307374-25848-1-git-send-email-tdent48227@gmail.com> (raw)

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 for it to build.

Reported-by: Shea Levy <shea@shealevy.com>
Signed-off-by: Tracey Dent <tdent48227@gmail.com>
---
 drivers/media/radio/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig
index 8db2d7f..b518ce5 100644
--- a/drivers/media/radio/Kconfig
+++ b/drivers/media/radio/Kconfig
@@ -44,6 +44,7 @@ config USB_DSBR
 config RADIO_MAXIRADIO
 	tristate "Guillemot MAXI Radio FM 2000 radio"
 	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.
-- 
1.7.10.rc3.3.g19a6c


             reply	other threads:[~2012-04-01 19:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-01 19:09 Tracey Dent [this message]
2012-04-01 19:24 ` [PATCH 1/1] Drivers/media/radio: Fix build error Hans Verkuil
2012-04-01 19:35   ` Randy Dunlap
2012-04-01 20:50   ` Shea Levy
2012-04-02 19:39   ` Mauro Carvalho Chehab
     [not found] <1333301014-18692-1-git-send-email-tdent48227@gmail.com>
2012-04-01 17:28 ` [PATCH 1/1] drivers/media/radio: " Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1333307374-25848-1-git-send-email-tdent48227@gmail.com \
    --to=tdent48227@gmail.com \
    --cc=hans.verkuil@cisco.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=shea@shealevy.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).