sh_eth: fix EESIPR values for SH77{34|63}
[linux/fpc-iii.git] / drivers / media / pci / cx88 / cx88-vp3054-i2c.h
blobec19bea8f1e2e228f7dcf6f027c8002619d47eee
1 /*
2 * cx88-vp3054-i2c.h -- support for the secondary I2C bus of the
3 * DNTV Live! DVB-T Pro (VP-3054), wired as:
4 * GPIO[0] -> SCL, GPIO[1] -> SDA
6 * (c) 2005 Chris Pascoe <c.pascoe@itee.uq.edu.au>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
19 /* ----------------------------------------------------------------------- */
20 struct vp3054_i2c_state {
21 struct i2c_adapter adap;
22 struct i2c_algo_bit_data algo;
23 u32 state;
26 /* ----------------------------------------------------------------------- */
27 #if IS_ENABLED(CONFIG_VIDEO_CX88_VP3054)
28 int vp3054_i2c_probe(struct cx8802_dev *dev);
29 void vp3054_i2c_remove(struct cx8802_dev *dev);
30 #else
31 static inline int vp3054_i2c_probe(struct cx8802_dev *dev)
32 { return 0; }
33 static inline void vp3054_i2c_remove(struct cx8802_dev *dev)
34 { }
35 #endif