android_kernel_xiaomi_sdm845/drivers/media/video/cx88
Trent Piepho bbc83597df V4L/DVB (6022): cx88: Move card core creation from cx88-core.c to cx88-cards.c
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>
2007-10-09 22:05:16 -03:00
..
cx88-alsa.c cx88-video build fix 2007-05-07 12:13:04 -07:00
cx88-blackbird.c V4L/DVB (6021): cx88: Copy board information into card state 2007-10-09 22:05:16 -03:00
cx88-cards.c V4L/DVB (6022): cx88: Move card core creation from cx88-core.c to cx88-cards.c 2007-10-09 22:05:16 -03:00
cx88-core.c V4L/DVB (6022): cx88: Move card core creation from cx88-core.c to cx88-cards.c 2007-10-09 22:05:16 -03:00
cx88-dvb.c V4L/DVB (6021): cx88: Copy board information into card state 2007-10-09 22:05:16 -03:00
cx88-i2c.c V4L/DVB (6021): cx88: Copy board information into card state 2007-10-09 22:05:16 -03:00
cx88-input.c V4L/DVB (6021): cx88: Copy board information into card state 2007-10-09 22:05:16 -03:00
cx88-mpeg.c V4L/DVB (6021): cx88: Copy board information into card state 2007-10-09 22:05:16 -03:00
cx88-reg.h [PATCH] v4l: 800: whitespace cleanups 2005-11-09 07:56:20 -08:00
cx88-tvaudio.c V4L/DVB (6021): cx88: Copy board information into card state 2007-10-09 22:05:16 -03:00
cx88-vbi.c V4L/DVB (5102): make videodev to auto-generate standards 2007-02-21 13:34:44 -02:00
cx88-video.c V4L/DVB (6021): cx88: Copy board information into card state 2007-10-09 22:05:16 -03:00
cx88-vp3054-i2c.c V4L/DVB (6021): cx88: Copy board information into card state 2007-10-09 22:05:16 -03:00
cx88-vp3054-i2c.h V4L/DVB (5629): Cx88: VP3054 support can't be a module when cx88 is compiled in 2007-07-18 14:23:11 -03:00
cx88.h V4L/DVB (6022): cx88: Move card core creation from cx88-core.c to cx88-cards.c 2007-10-09 22:05:16 -03:00
Kconfig V4L/DVB (5780): Dvb: Remove static dependencies on dvb-pll 2007-07-18 14:24:16 -03:00
Makefile V4L/DVB (5166): Remove obsolete alias defines of CONFIG_* settings 2007-02-21 13:35:11 -02:00