diff options
author | Gon Solo <gonsolo@gmail.com> | 2019-10-10 11:51:01 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-10-10 12:07:14 +0200 |
commit | 57df53738a8134955beee6ab1b3b006669c0e82e (patch) | |
tree | fdb2a0cdc1f1b0cdceabdfcaaf9df6fd3846208b /drivers/media/tuners/si2157_priv.h | |
parent | media: af9035: add the formula used for the I2C speed (diff) | |
download | linux-57df53738a8134955beee6ab1b3b006669c0e82e.tar.xz linux-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.h | 5 |
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; |