i2c-designware: split of i2c-designware.c into core and bus specific parts
authorDirk Brandewie <dirk.brandewie@gmail.com>
Sat, 29 Oct 2011 09:57:23 +0000 (10:57 +0100)
committerBen Dooks <ben-linux@fluff.org>
Sat, 29 Oct 2011 10:03:39 +0000 (11:03 +0100)
commit2373f6b9744d5373b886f3ce1a985193cca0a356
tree1d3e76da9c3c0bdac1be935742210ebd5e77719d
parent4a423a8c8107b983007199c76c8327cd1747f092
i2c-designware: split of i2c-designware.c into core and bus specific parts

This patch splits i2c-designware.c into three pieces:
     i2c-designware-core.c, contains the code that interacts directly
     with the core.

     i2c-designware-platdrv.c, contains the code specific to the
     platform driver using the core.

     i2c-designware-core.h contains the definitions and declareations
     shared by i2c-designware-core.c and i2c-designware-platdrv.c.

This patch is the first in a set to allow multiple instances of the
designware I2C core in the system.

Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-designware-core.c [new file with mode: 0644]
drivers/i2c/busses/i2c-designware-core.h [new file with mode: 0644]
drivers/i2c/busses/i2c-designware-platdrv.c [new file with mode: 0644]
drivers/i2c/busses/i2c-designware.c [deleted file]