public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/media/dvb/b2c2/flexcop-dma.c uses PCI DMA API
@ 2007-06-06 19:11 Geert Uytterhoeven
  2007-06-07 12:50 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 7+ messages in thread
From: Geert Uytterhoeven @ 2007-06-06 19:11 UTC (permalink / raw)
  To: v4l-dvb-maintainer; +Cc: linux-dvb, Linux Kernel Development

	Hi,

drivers/media/dvb/b2c2/flexcop-dma.c uses the PCI DMA API, but DVB_B2C2_FLEXCOP
doesn't depend on PCI, causing the following problem on PCI-less systems:

| linux/drivers/media/dvb/b2c2/flexcop-dma.c:20: warning: implicit declaration of function 'pci_alloc_consistent'
| linux/drivers/media/dvb/b2c2/flexcop-dma.c:20: warning: implicit declaration of function 'pci_alloc_consistent'

Apparently this is the flexcop DMA core, which is used by both
DVB_B2C2_FLEXCOP_PCI and DVB_B2C2_FLEXCOP_USB.

DVB_B2C2_FLEXCOP_PCI depends on PCI.
DVB_B2C2_FLEXCOP_USB depends on USB.

Perhaps the flexcop DMA core should use the generic DMA API instead?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

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

end of thread, other threads:[~2007-06-08 18:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-06 19:11 drivers/media/dvb/b2c2/flexcop-dma.c uses PCI DMA API Geert Uytterhoeven
2007-06-07 12:50 ` Mauro Carvalho Chehab
2007-06-07 14:03   ` [v4l-dvb-maintainer] " Michael Krufky
2007-06-07 14:10     ` Mauro Carvalho Chehab
2007-06-07 20:41       ` Trent Piepho
2007-06-08 12:30         ` Mauro Carvalho Chehab
2007-06-08 18:18           ` Trent Piepho

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