summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-video.c
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-08-15 10:41:58 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2007-08-15 10:41:58 -0700
commit29464472239effdb72b8d64970b9fc8128818a80 (patch)
tree0029129da7d6c15f79dad6d6583b872a201e1e18 /linux/drivers/media/video/cx88/cx88-video.c
parent31c5d3394d08cbf4dd5966c98a4432ebf6ffd0fb (diff)
downloadmediapointer-dvb-s2-29464472239effdb72b8d64970b9fc8128818a80.tar.gz
mediapointer-dvb-s2-29464472239effdb72b8d64970b9fc8128818a80.tar.bz2
cx88: Move card core creation from cx88-core.c to cx88-cards.c
From: Trent Piepho <xyzzy@speakeasy.org> A lot of code in cx88-cards.c was only used by cx88-core.c when the core state is first allocated and initialized. Moving that task to cx88-cards makes the driver simpler and the files more self contained. - Module parameters tuner, radio, card, and latency move to cx88-cards.c - cx88_boards is made static - cx88_subids is made static and const - cx88_bcount is eliminated - cx88_idcount is eliminated - cx88_card_list() is made static - cx88_card_setup_pre_i2c() is made static - cx88_card_setup() is made static - cx88_pci_quirks() is moved from cx88-core to cx88-cards The function argument "char *name" is made const too - get_ressources() is moved from cx88-core to cx88-cards, and renamed to cx88_get_resources() - The code to allocate and initialize the core state struct and the chip is moved out of cx88-core.c:cx88_get_core() and into a new function in cx88-cards.c, cx88_core_create(). This makes both functions simpler. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-video.c')
0 files changed, 0 insertions, 0 deletions