]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c-designware: split of i2c-designware.c into core and bus specific parts
authorDirk Brandewie <dirk.brandewie@gmail.com>
Thu, 6 Oct 2011 18:26:29 +0000 (11:26 -0700)
committerBen Dooks <ben-linux@fluff.org>
Mon, 10 Oct 2011 23:50:11 +0000 (00:50 +0100)
commite19e848eedb9c70f7394a9b88a187634ef408b21
tree7fe48d9ddb04b436c51e0e0b94a9731168eeb116
parent7c800a47536a0481c49b35a3a5ac3c707f750883
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 [moved from drivers/i2c/busses/i2c-designware.c with 60% similarity]
drivers/i2c/busses/i2c-designware-core.h [new file with mode: 0644]
drivers/i2c/busses/i2c-designware-platdrv.c [new file with mode: 0644]