V4L/DVB (9231): cx23885: Define num_frontends as a function of the port
authorSteven Toth <stoth@linuxtv.org>
Sat, 11 Oct 2008 15:27:06 +0000 (12:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 17 Oct 2008 20:24:38 +0000 (17:24 -0300)
commita739a7e4c642ebb1ab803fc2c9743aaf1833058b
treed6ffbde9604f15d80b5c8495e387cd6bf436d86e
parentd782ffa24fc6ce01b3308a0bec5aa5d9d666b568
V4L/DVB (9231): cx23885: Define num_frontends as a function of the port

This allows some cardcoded functions to be more flexible, and paves
the way for any future cards that may have MFE support. Better to add it
now when the MFE patches is fresh in peoples mind, rather than 12 months
from now when new cards appear.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-core.c
drivers/media/video/cx23885/cx23885.h