mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 21:31:51 +00:00
ALSA: ice1712: define i2c eeprom addr to header file
Signed-off-by: Konstantinos Tsimpoukas <kostaslinuxxx@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
aed328fec0
commit
9718a29d40
2 changed files with 3 additions and 2 deletions
|
@ -2285,7 +2285,7 @@ static unsigned char snd_ice1712_read_i2c(struct snd_ice1712 *ice,
|
||||||
static int snd_ice1712_read_eeprom(struct snd_ice1712 *ice,
|
static int snd_ice1712_read_eeprom(struct snd_ice1712 *ice,
|
||||||
const char *modelname)
|
const char *modelname)
|
||||||
{
|
{
|
||||||
int dev = 0xa0; /* EEPROM device address */
|
int dev = ICE_I2C_EEPROM_ADDR; /* I2C EEPROM device address */
|
||||||
unsigned int i, size;
|
unsigned int i, size;
|
||||||
struct snd_ice1712_card_info * const *tbl, *c;
|
struct snd_ice1712_card_info * const *tbl, *c;
|
||||||
|
|
||||||
|
|
|
@ -218,8 +218,9 @@
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
* I2C EEPROM Address
|
||||||
*/
|
*/
|
||||||
|
#define ICE_I2C_EEPROM_ADDR 0xA0
|
||||||
|
|
||||||
struct snd_ice1712;
|
struct snd_ice1712;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue