public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Re: build #345 issue for v2.6.25-rc1 in tuner-core.c
       [not found] ` <20080212004251.GT6887@bakeyournoodle.com>
@ 2008-02-12  2:34   ` Michael Krufky
  2008-02-12 14:59     ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Krufky @ 2008-02-12  2:34 UTC (permalink / raw)
  To: Tony Breeds
  Cc: video4linux-list, Toralf Förster, linux-kernel,
	Mauro Carvalho Chehab, Steven Toth, Andrew Morton

Tony Breeds wrote:
> On Mon, Feb 11, 2008 at 11:54:31AM +0100, Toralf Förster wrote:
>   
>> Hello,
>>
>> the build with the attached .config failed, make ending with:
>> ...
>>   MODPOST vmlinux.o
>> WARNING: modpost: Found 12 section mismatch(es).
>> To see full details build your kernel with:
>> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>>   GEN     .version
>>   CHK     include/linux/compile.h
>>   UPD     include/linux/compile.h
>>   CC      init/version.o
>>   LD      init/built-in.o
>>   LD      .tmp_vmlinux1
>> drivers/built-in.o: In function `set_type':
>> tuner-core.c:(.text+0x8879d): undefined reference to `xc5000_attach'
>> make: *** [.tmp_vmlinux1] Error 1
>>     
>
> <snip>
> Fix Build error for xc5000 tuner when built as module.
>
> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
>   
Patch is correct.  Not sure which tag is appropriate.....

Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>

This should go straight to Linus.....  Andrew or Mauro, can one of you
take care of it?

Regards,

Mike
> ---
> Not 100% certain this is correct but it works for me :) Michael?
>
>  drivers/media/dvb/frontends/xc5000.h |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/media/dvb/frontends/xc5000.h b/drivers/media/dvb/frontends/xc5000.h
> index e0e8456..32a5f1c 100644
> --- a/drivers/media/dvb/frontends/xc5000.h
> +++ b/drivers/media/dvb/frontends/xc5000.h
> @@ -45,7 +45,8 @@ struct xc5000_config {
>  /* xc5000 callback command */
>  #define XC5000_TUNER_RESET		0
>  
> -#if defined(CONFIG_DVB_TUNER_XC5000) || defined(CONFIG_DVB_TUNER_XC5000_MODULE)
> +#if defined(CONFIG_DVB_TUNER_XC5000) || \
> +    (defined(CONFIG_DVB_TUNER_XC5000_MODULE) && defined(MODULE))
>  extern struct dvb_frontend* xc5000_attach(struct dvb_frontend *fe,
>  					  struct i2c_adapter *i2c,
>  					  struct xc5000_config *cfg);
>   

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: build #345 issue for v2.6.25-rc1 in tuner-core.c
  2008-02-12  2:34   ` build #345 issue for v2.6.25-rc1 in tuner-core.c Michael Krufky
@ 2008-02-12 14:59     ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 2+ messages in thread
From: Mauro Carvalho Chehab @ 2008-02-12 14:59 UTC (permalink / raw)
  To: Michael Krufky
  Cc: video4linux-list, Toralf Förster, Tony Breeds, linux-kernel,
	Steven Toth, Andrew Morton

On Mon, 11 Feb 2008 21:34:32 -0500
Michael Krufky <mkrufky@linuxtv.org> wrote:

> Tony Breeds wrote:
> > On Mon, Feb 11, 2008 at 11:54:31AM +0100, Toralf Förster wrote:
> >   
> >> Hello,
> >>
> >> the build with the attached .config failed, make ending with:
> >> ...
> >>   MODPOST vmlinux.o
> >> WARNING: modpost: Found 12 section mismatch(es).
> >> To see full details build your kernel with:
> >> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> >>   GEN     .version
> >>   CHK     include/linux/compile.h
> >>   UPD     include/linux/compile.h
> >>   CC      init/version.o
> >>   LD      init/built-in.o
> >>   LD      .tmp_vmlinux1
> >> drivers/built-in.o: In function `set_type':
> >> tuner-core.c:(.text+0x8879d): undefined reference to `xc5000_attach'
> >> make: *** [.tmp_vmlinux1] Error 1
> >>     
> >
> > <snip>
> > Fix Build error for xc5000 tuner when built as module.
> >
> > Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
> >   
> Patch is correct.  Not sure which tag is appropriate.....
> 
> Reviewed-by: Michael Krufky <mkrufky@linuxtv.org>
> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
> 
> This should go straight to Linus.....  Andrew or Mauro, can one of you
> take care of it?

I should forward today some patches to Linus. I'll add this one to the list.


Cheers,
Mauro

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-12 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200802111154.31760.toralf.foerster@gmx.de>
     [not found] ` <20080212004251.GT6887@bakeyournoodle.com>
2008-02-12  2:34   ` build #345 issue for v2.6.25-rc1 in tuner-core.c Michael Krufky
2008-02-12 14:59     ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox