diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2014-01-28 12:55:21 +0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-03-09 11:40:41 +0400 |
commit | 45126da22452ac3d4685401a1e921a39ac0ff2f6 (patch) | |
tree | 2b8663693215065023c3571f30d106276bc4e6ec /drivers/i2c | |
parent | 80c69915e5fbe6493119d87eee2a2a6a7115c74c (diff) | |
download | linux-45126da22452ac3d4685401a1e921a39ac0ff2f6.tar.xz |
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>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-bfin-twi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-bfin-twi.c b/drivers/i2c/busses/i2c-bfin-twi.c index c75f0e943b32..c8976a3e03df 100644 --- a/drivers/i2c/busses/i2c-bfin-twi.c +++ b/drivers/i2c/busses/i2c-bfin-twi.c @@ -21,10 +21,10 @@ #include <linux/interrupt.h> #include <linux/platform_device.h> #include <linux/delay.h> +#include <linux/i2c/bfin_twi.h> -#include <asm/blackfin.h> -#include <asm/portmux.h> #include <asm/irq.h> +#include <asm/portmux.h> #include <asm/bfin_twi.h> /* SMBus mode*/ |