OSDN Git Service

i2c: bfin-twi: move bits macros and structs in header from arch include to generic...
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 28 Jan 2014 08:55:21 +0000 (16:55 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 9 Mar 2014 07:40:41 +0000 (08:40 +0100)
commit45126da22452ac3d4685401a1e921a39ac0ff2f6
tree2b8663693215065023c3571f30d106276bc4e6ec
parent80c69915e5fbe6493119d87eee2a2a6a7115c74c
i2c: bfin-twi: move bits macros and structs in header from arch include to generic include

The ADI TWI peripheral is not binding to the Blackfin processor only.
The bits macros and structs should be put in the generic include header.
And update head file path in drivers accordingly.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
arch/blackfin/include/asm/bfin_twi.h
arch/blackfin/kernel/debug-mmrs.c
drivers/i2c/busses/i2c-bfin-twi.c
include/linux/i2c/bfin_twi.h [new file with mode: 0644]