1. 16 12月, 2009 36 次提交
  2. 10 12月, 2009 1 次提交
  3. 09 12月, 2009 1 次提交
    • R
      ALSA: radio/sound/miro: fix build, cleanup depends/selects · dd7cdb88
      Randy Dunlap 提交于
      miropcm20 uses ALSA (snd_) interfaces from the SND_MIRO
      driver, so it should depend on SND.
      (selecting SND_MIRO when CONFIG_SND is not enabled is a
      problem.)
      
      drivers/built-in.o: In function `vidioc_s_ctrl':
      radio-miropcm20.c:(.text+0x227499): undefined reference to `snd_aci_cmd'
      drivers/built-in.o: In function `vidioc_s_frequency':
      radio-miropcm20.c:(.text+0x227574): undefined reference to `snd_aci_cmd'
      radio-miropcm20.c:(.text+0x227588): undefined reference to `snd_aci_cmd'
      drivers/built-in.o: In function `pcm20_init':
      radio-miropcm20.c:(.init.text+0x2a784): undefined reference to `snd_aci_get_aci'
      
      miropcm20 selects SND_MIRO but SND_ISA may be not enabled, so
      also select SND_ISA so that the snd-miro driver will be built.
      Otherwise there are missing symbols:
      
      ERROR: "snd_opl4_create" [sound/isa/opti9xx/snd-miro.ko] undefined!
      ERROR: "snd_wss_pcm" [sound/isa/opti9xx/snd-miro.ko] undefined!
      ERROR: "snd_wss_timer" [sound/isa/opti9xx/snd-miro.ko] undefined!
      ERROR: "snd_wss_create" [sound/isa/opti9xx/snd-miro.ko] undefined!
      ERROR: "snd_wss_mixer" [sound/isa/opti9xx/snd-miro.ko] undefined!
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Acked-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      Cc: Krzysztof Helt <krzysztof.h1@wp.pl>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      dd7cdb88
  4. 06 12月, 2009 2 次提交
    • M
    • D
      V4L/DVB (13541): atbm8830: replace 64-bit division and floating point usage · 92fda216
      David Wong 提交于
      Randy Dunlap wrote:
      > On Mon, 30 Nov 2009 10:07:21 -0800 Randy Dunlap wrote:
      >
      >> Stephen Rothwell wrote:
      >>> Hi all,
      
      > >>> Changes since 20091127:
      
      >>> The v4l-dvb tree lost its conflict.
      >>
      >> on i386 (X86_32):
      >>
      >> a 'double' variable is used, causing:
      >>
      >> ERROR: "__floatunsidf" [drivers/media/common/tuners/max2165.ko] undefined!
      >> ERROR: "__adddf3" [drivers/media/common/tuners/max2165.ko] undefined!
      >> ERROR: "__fixunsdfsi" [drivers/media/common/tuners/max2165.ko] undefined!
      >
      >
      > linux-next-20091202:
      >
      > still have this one (above) and similar with
      > drivers/media/dvb/frontends/atbm8830.c:
      >
      > drivers/built-in.o: In function `atbm8830_init':
      > atbm8830.c:(.text+0x9012f9): undefined reference to `__udivdi3'
      > atbm8830.c:(.text+0x901384): undefined reference to `__floatunsidf'
      > atbm8830.c:(.text+0x901395): undefined reference to `__muldf3'
      > atbm8830.c:(.text+0x9013a5): undefined reference to `__floatunsidf'
      > atbm8830.c:(.text+0x9013b2): undefined reference to `__divdf3'
      > atbm8830.c:(.text+0x9013c3): undefined reference to `__muldf3'
      > atbm8830.c:(.text+0x9013cd): undefined reference to `__fixunsdfsi'
      >
      > ---
      > ~Randy
      > --
      > To unsubscribe from this list: send the line "unsubscribe linux-media" in
      > the body of a message to majordomo@vger.kernel.org
      > More majordomo info at  http://vger.kernel.org/majordomo-info.html
      
      This patch replace 64-bit division by do_div() macro and remove usage of
      floating point variable
      Signed-off-by: NDavid T. L. Wong <davidtlwong@gmail.com>
      Acked-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      92fda216