09df1c163a
I2C_foo were used for some i2c addresses. Bad, since those constants could mean other i2c chip things. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
17 lines
364 B
C
17 lines
364 B
C
#ifndef __INCLUDED_TEA6420__
|
|
#define __INCLUDED_TEA6420__
|
|
|
|
/* possible addresses */
|
|
#define I2C_ADDR_TEA6420_1 0x4c
|
|
#define I2C_ADDR_TEA6420_2 0x4d
|
|
|
|
struct tea6420_multiplex
|
|
{
|
|
int in; /* input of audio switch */
|
|
int out; /* output of audio switch */
|
|
int gain; /* gain of connection */
|
|
};
|
|
|
|
#define TEA6420_SWITCH _IOW('v',1,struct tea6420_multiplex)
|
|
|
|
#endif
|