aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/si2157_priv.h
diff options
context:
space:
mode:
authorGon Solo <gonsolo@gmail.com>2019-10-10 06:51:01 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-10 07:07:14 -0300
commit57df53738a8134955beee6ab1b3b006669c0e82e (patch)
treefdb2a0cdc1f1b0cdceabdfcaaf9df6fd3846208b /drivers/media/tuners/si2157_priv.h
parentmedia: af9035: add the formula used for the I2C speed (diff)
downloadlinux-dev-57df53738a8134955beee6ab1b3b006669c0e82e.tar.xz
linux-dev-57df53738a8134955beee6ab1b3b006669c0e82e.zip
media: si2157: Add option for not downloading firmware.
While at it, convert to kernel-doc format and use bits instead of bools. Signed-off-by: Gon Solo <gonsolo@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/tuners/si2157_priv.h')
-rw-r--r--drivers/media/tuners/si2157_priv.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/tuners/si2157_priv.h b/drivers/media/tuners/si2157_priv.h
index 2bda903358da..778f81b39996 100644
--- a/drivers/media/tuners/si2157_priv.h
+++ b/drivers/media/tuners/si2157_priv.h
@@ -23,8 +23,9 @@ enum si2157_pads {
struct si2157_dev {
struct mutex i2c_mutex;
struct dvb_frontend *fe;
- bool active;
- bool inversion;
+ unsigned int active:1;
+ unsigned int inversion:1;
+ unsigned int dont_load_firmware:1;
u8 chiptype;
u8 if_port;
u32 if_frequency;