tmp_suning_uos_patched/drivers/i2c
Ben Dooks 399dee2371 i2c: S3C2410: Pass the I2C bus number via drivers platform data
Allow the platform data to specify the bus bumber that the
new I2C bus will be given. This is to allow the use of the
board registration mechanism to specify the new style of
I2C device registration which allows boards to provide a
list of attached devices.

Note, as discussed on the mailing list, we have dropped
backwards compatibility of adding an dynamic bus number
as it should not affect most boards to have the bus pinned
to 0 if they have either not specified platform data for
driver. Any board supplying platform data will automatically
have the bus_num field set to 0, and anyone who needs the
driver on a different bus number can supply platform data
to set bus_num.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2008-07-28 12:05:26 +01:00
..
algos i2c-algo-pcf: Multi-master lost-arbitration improvement 2008-07-14 22:38:31 +02:00
busses i2c: S3C2410: Pass the I2C bus number via drivers platform data 2008-07-28 12:05:26 +01:00
chips gpiolib: allow user-selection 2008-07-25 10:53:30 -07:00
i2c-boardinfo.c
i2c-core.c Driver Core: add ability for class_for_each_device to start in middle of list 2008-07-21 21:54:47 -07:00
i2c-core.h
i2c-dev.c device create: i2c: convert device_create to device_create_drvdata 2008-07-21 21:54:42 -07:00
Kconfig
Makefile