summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/af9013.c
AgeCommit message (Collapse)Author
2008-10-12merge: http://linuxtv.org/hg/~anttip/af9015/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-10-06af901x: fix some compiler errors and warningsAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - cast firmware data to u8 - remove cpu_to_le16 from switch-case label Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-09-26af901x: clean-upAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - remove unnecessary #undef's Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-09-16af9013: fix compile error coming from u64 divAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - fix compile error coming from u64 div Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-09-15initial driver for af9013 demodulatorAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - initial driver for the Afatech AF9013 demodulator Priority: normal Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-10-11af9013/m5602: Fix compilation at in-kernelMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> This patch fixes a few errors that were breaking in-kernel compilation. The first one were at m5602 that were including "gspca.h" from another directory. A trivial change at m5602/Makefile fixed the issue. A harder to fix error were caused by the fact that both af9013 and m5602 were declaring an external var called 'debug'. If you compile both modules in-kernel, you'll have troubles. This is even worse, since there are two other drivers outside the subsystem with a similar mistake. To make things worse, gcc do a very great job of fooling the developers, by blaming the wrong lines anf files when such error occurs. So, I was having errors like: drivers/media/dvb/built-in.o: In function `dvb_usercopy': /home/v4l/tokernel/git/drivers/media/dvb/dvb-core/dvbdev.c:403: multiple definition of `debug' drivers/media/video/built-in.o:/home/v4l/tokernel/git/drivers/media/video/bt819.c:264: first defined here or: drivers/media/dvb/built-in.o: In function `dvb_usercopy': /home/v4l/tokernel/git/drivers/media/dvb/dvb-core/dvbdev.c:403: multiple definition of `debug' drivers/media/video/built-in.o:/home/v4l/tokernel/git/drivers/media/video/vpx3220.c:125: first defined here The two above errors caused by m5602 driver. After fixing m5602, I got this: drivers/built-in.o: In function `SiS_SetGroup2': /home/v4l/tokernel/git/drivers/video/sis/init301.c:6996: multiple definition of `debug' arch/x86/kernel/built-in.o:/home/v4l/tokernel/git/arch/x86/kernel/entry_32.S:810: first defined here This one caused by af9013. This patch fixes those erros by prefixing the debug vars with the name of the module, without changing the name of the parameter. Next time, please prepend all extern vars with the name of the module. To avoid bisect troubles, I've folded those changes with the original commits that added those modules at my -git tree. kernel-sync: CC: Jean-Francois Moine <moinejf@free.fr> CC: Antti Palosaari <crope@iki.fi> CC: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>