Commit | Line | Data |
---|---|---|
930a8730 AP |
1 | #ifndef SI2157_PRIV_H |
2 | #define SI2157_PRIV_H | |
3 | ||
4 | #include "si2157.h" | |
5 | ||
6 | /* state struct */ | |
7 | struct si2157 { | |
8 | struct mutex i2c_mutex; | |
9 | struct i2c_client *client; | |
10 | struct dvb_frontend *fe; | |
11 | bool active; | |
12 | }; | |
13 | ||
14 | /* firmare command struct */ | |
15 | #define SI2157_ARGLEN 30 | |
16 | struct si2157_cmd { | |
17 | u8 args[SI2157_ARGLEN]; | |
18 | unsigned len; | |
19 | }; | |
20 | ||
21 | #endif |