hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/media/dvb-frontends/si2168_priv.h
....@@ -1,17 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Silicon Labs Si2168 DVB-T/T2/C demodulator driver
34 *
45 * Copyright (C) 2014 Antti Palosaari <crope@iki.fi>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
156 */
167
178 #ifndef SI2168_PRIV_H
....@@ -43,12 +34,12 @@
4334 unsigned int chip_id;
4435 unsigned int version;
4536 const char *firmware_name;
46
- bool active;
47
- bool warm;
4837 u8 ts_mode;
49
- bool ts_clock_inv;
50
- bool ts_clock_gapped;
51
- bool spectral_inversion;
38
+ unsigned int active:1;
39
+ unsigned int warm:1;
40
+ unsigned int ts_clock_inv:1;
41
+ unsigned int ts_clock_gapped:1;
42
+ unsigned int spectral_inversion:1;
5243 };
5344
5445 /* firmware command struct */