summaryrefslogtreecommitdiff
path: root/drivers/i2c/davinci_i2c.c
diff options
context:
space:
mode:
authorKaricheri, Muralidharan <m-karicheri2@ti.com>2014-04-04 17:16:51 (GMT)
committerTom Rini <trini@ti.com>2014-04-17 21:24:38 (GMT)
commit356d15ebb2b0bb2adde2ca4fe4cccb87f75531a0 (patch)
treef21cc0534e08b48742bbfde591defc38d9be4c1e /drivers/i2c/davinci_i2c.c
parent999d7d326de45c014077cda9904e9ac25166c3f2 (diff)
downloadu-boot-fsl-qoriq-356d15ebb2b0bb2adde2ca4fe4cccb87f75531a0.tar.xz
i2c, davinci: move i2c_defs.h to the drivers/i2c directory
This patch moves the davinci i2c_defs.h file to drivers.i2c directory. It will allow to reuse the davinci_i2c driver for TI Keystone2 SOCs. Not used "git mv" command to move the file because small part of it with definitions specific for Davinci SOCs has to remain in the arch/arm/include/asm/arch-davinci. Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Acked-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/i2c/davinci_i2c.c')
-rw-r--r--drivers/i2c/davinci_i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/davinci_i2c.c b/drivers/i2c/davinci_i2c.c
index e56fe75..6e5260c 100644
--- a/drivers/i2c/davinci_i2c.c
+++ b/drivers/i2c/davinci_i2c.c
@@ -12,6 +12,7 @@
#include <i2c.h>
#include <asm/arch/hardware.h>
#include <asm/arch/i2c_defs.h>
+#include "davinci_i2c.h"
#define CHECK_NACK() \
do {\