All of lore.kernel.org
 help / color / mirror / Atom feed
From: Antti Palosaari <crope@iki.fi>
To: unlisted-recipients:; (no To-header on input)@casper.infradead.org
Cc: linux-media@vger.kernel.org,
	Mauro Carvalho Chehab <m.chehab@samsung.com>
Subject: Re: [next:master 8790/9825] tuner-core.c:undefined reference to `tda829x_attach'
Date: Thu, 31 Jul 2014 00:23:53 +0300	[thread overview]
Message-ID: <53D96269.2080902@iki.fi> (raw)
In-Reply-To: <53d8fde5.1k1Ii3dzHq6aFnfz%fengguang.wu@intel.com>

Mauro,
Could you look that? I simply cannot understand why it does not see for 
example xc2028_attach(). All those tuners seems to be analog or hybrid.

$ grep CONFIG_MEDIA_TUNER= .config
CONFIG_MEDIA_TUNER=y
$ grep CONFIG_VIDEO_TUNER= .config
CONFIG_VIDEO_TUNER=y
$ grep CONFIG_MEDIA_TUNER_XC2028= .config
CONFIG_MEDIA_TUNER_XC2028=m
$ grep CONFIG_MEDIA_ATTACH= .config
$ grep CONFIG_MEDIA_SUBDRV_AUTOSELECT= .config


Why these ATV tuners are selected when MEDIA_SUBDRV_AUTOSELECT, but DTV not?

# Analog TV tuners, auto-loaded via tuner.ko
config MEDIA_TUNER
	tristate
	depends on (MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || 
MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT) && I2C
	default y
	select MEDIA_TUNER_XC2028 if MEDIA_SUBDRV_AUTOSELECT
	select MEDIA_TUNER_XC5000 if MEDIA_SUBDRV_AUTOSELECT
	select MEDIA_TUNER_XC4000 if MEDIA_SUBDRV_AUTOSELECT
	select MEDIA_TUNER_MT20XX if MEDIA_SUBDRV_AUTOSELECT
	select MEDIA_TUNER_TDA8290 if MEDIA_SUBDRV_AUTOSELECT
	select MEDIA_TUNER_TEA5761 if MEDIA_SUBDRV_AUTOSELECT && 
MEDIA_RADIO_SUPPORT
	select MEDIA_TUNER_TEA5767 if MEDIA_SUBDRV_AUTOSELECT && 
MEDIA_RADIO_SUPPORT
	select MEDIA_TUNER_SIMPLE if MEDIA_SUBDRV_AUTOSELECT
	select MEDIA_TUNER_TDA9887 if MEDIA_SUBDRV_AUTOSELECT
	select MEDIA_TUNER_MC44S803 if MEDIA_SUBDRV_AUTOSELECT

regards
Antti

On 07/30/2014 05:15 PM, kbuild test robot wrote:
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   fcf6395d41087217d4b88d5b2ad7a1ce66ca6ced
> commit: f5b44da1ac4146e06147a5df3058f4c265c932ec [8790/9825] [media] Kconfig: fix tuners build warnings
> config: i386-randconfig-ib1-07302105 (attached as .config)
>
> All error/warnings:
>
>     drivers/built-in.o: In function `set_type':
>>> tuner-core.c:(.text+0x340ee6): undefined reference to `tda829x_attach'
>>> tuner-core.c:(.text+0x340fac): undefined reference to `xc2028_attach'
>>> tuner-core.c:(.text+0x34103e): undefined reference to `tda18271_attach'
>>> tuner-core.c:(.text+0x34106e): undefined reference to `xc4000_attach'
>     drivers/built-in.o: In function `tuner_probe':
>>> tuner-core.c:(.text+0x341484): undefined reference to `tda829x_probe'
>
> ---
> 0-DAY kernel build testing backend              Open Source Technology Center
> http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
>

-- 
http://palosaari.fi/

      reply	other threads:[~2014-07-30 21:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30 14:15 [next:master 8790/9825] tuner-core.c:undefined reference to `tda829x_attach' kbuild test robot
2014-07-30 21:23 ` Antti Palosaari [this message]

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=53D96269.2080902@iki.fi \
    --to=crope@iki.fi \
    --cc=linux-media@vger.kernel.org \
    --cc=m.chehab@samsung.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.