]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (5976): mt2131 s5h1409: correct frontend selection logic
authorTrent Piepho <xyzzy@speakeasy.org>
Tue, 31 Jul 2007 21:51:30 +0000 (18:51 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:04:33 +0000 (22:04 -0300)
commitb97762ba18b57c7057b58ed4f7140a19d0166b01
treeed4c9d0f08e3b1c7d18f8c120a9ad587829706ba
parent19dc74b7c5f02ada19840a85582f42f4dddcdb3e
V4L/DVB (5976): mt2131 s5h1409: correct frontend selection logic

If a card driver is compiled into the kernel and mt2131 or s5h1409 are
compiled as modules, the kernel won't link.

A compiled in driver can't use a module, so in this case the mt2131 or s5h1409
are effectively disabled w.r.t the compiled in driver and the stub attach
function should be used.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/mt2131.h
drivers/media/dvb/frontends/s5h1409.h