forked from Minki/linux
bbc83597df
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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> |
||
---|---|---|
.. | ||
cx88-alsa.c | ||
cx88-blackbird.c | ||
cx88-cards.c | ||
cx88-core.c | ||
cx88-dvb.c | ||
cx88-i2c.c | ||
cx88-input.c | ||
cx88-mpeg.c | ||
cx88-reg.h | ||
cx88-tvaudio.c | ||
cx88-vbi.c | ||
cx88-video.c | ||
cx88-vp3054-i2c.c | ||
cx88-vp3054-i2c.h | ||
cx88.h | ||
Kconfig | ||
Makefile |