summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/stv0367_defs.h
diff options
context:
space:
mode:
authorDaniel Scheller <d.scheller@gmx.net>2017-03-29 18:43:03 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-20 14:19:58 +0200
commit41727cbb203cd6606a0ea835d867060f27d57737 (patch)
tree302fcc1b99c23b57ed33af635babc6a5a88eb464 /drivers/media/dvb-frontends/stv0367_defs.h
parent[media] dvb-frontends/stv0367: print CPAMP status only if stv_debug is enabled (diff)
downloadlinux-41727cbb203cd6606a0ea835d867060f27d57737.tar.xz
linux-41727cbb203cd6606a0ea835d867060f27d57737.zip
[media] dvb-frontends/stv0367: refactor defaults table handling
Change defaults table writing so tables can be of dynamic length without having to keep track of their lengths by adding and evaluating an end marker (reg 0x0000), also move table writing to a dedicated function to remove code duplication. Additionally mark st_register tables const since they're used read-only. Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/stv0367_defs.h')
0 files changed, 0 insertions, 0 deletions