diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-04-21 21:47:22 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-04-21 21:47:22 +0200 |
commit | 7400516ab40d8fe55031dc8d614e2b365bd95f1c (patch) | |
tree | 33fc8410c9727ca32747ed84832bafb785285f79 /drivers/staging/go7007/go7007-priv.h | |
parent | a939b96cccdb65df80a52447ec8e4a6d79c56dbb (diff) | |
download | linux-7400516ab40d8fe55031dc8d614e2b365bd95f1c.tar.bz2 |
go7007: Convert to the new i2c device binding model
Move the go7007 driver away from the legacy i2c binding model, which
is going away really soon now.
The I2C addresses of the audio and video chips in s2250-board didn't
look quite right, apparently they were left-aligned values when Linux
wants right-aligned values, so I fixed them too.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/go7007/go7007-priv.h')
-rw-r--r-- | drivers/staging/go7007/go7007-priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/go7007/go7007-priv.h b/drivers/staging/go7007/go7007-priv.h index 372f1f1c09b2..178d18119faa 100644 --- a/drivers/staging/go7007/go7007-priv.h +++ b/drivers/staging/go7007/go7007-priv.h @@ -87,6 +87,7 @@ struct go7007_board_info { int audio_main_div; int num_i2c_devs; struct { + const char *type; int id; int addr; } i2c_devs[4]; |