Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __INCLUDED_TEA6420__ |
| 2 | #define __INCLUDED_TEA6420__ |
| 3 | |
| 4 | /* possible addresses */ |
Mauro Carvalho Chehab | 09df1c1 | 2006-03-18 08:31:34 -0300 | [diff] [blame] | 5 | #define I2C_ADDR_TEA6420_1 0x4c |
| 6 | #define I2C_ADDR_TEA6420_2 0x4d |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
| 8 | struct tea6420_multiplex |
| 9 | { |
| 10 | int in; /* input of audio switch */ |
| 11 | int out; /* output of audio switch */ |
| 12 | int gain; /* gain of connection */ |
| 13 | }; |
| 14 | |
| 15 | #define TEA6420_SWITCH _IOW('v',1,struct tea6420_multiplex) |
| 16 | |
| 17 | #endif |