summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorSantosh Shilimkar2013-07-25 22:59:25 +0200
committerWolfram Sang2013-08-15 14:28:50 +0200
commit9adad4dfd121bb529ef028d3785310275ccbcc47 (patch)
tree709a15d258ca3a4405e842a2fbf827f75bde0754 /drivers/i2c
parenti2c: i2c-bfin-twi: add CONFIG_PM_SLEEP to suspend/resume functions (diff)
downloadkernel-qcow2-linux-9adad4dfd121bb529ef028d3785310275ccbcc47.tar.gz
kernel-qcow2-linux-9adad4dfd121bb529ef028d3785310275ccbcc47.tar.xz
kernel-qcow2-linux-9adad4dfd121bb529ef028d3785310275ccbcc47.zip
i2c: davinci: remove useless mach/hardware include
This driver no longer uses definitions from mach/hardware.h. On the other hand, including this header breaks this driver on non-davinci platforms which don't have such a header. Acked-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-davinci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c
index fa556057d224..5898df30e798 100644
--- a/drivers/i2c/busses/i2c-davinci.c
+++ b/drivers/i2c/busses/i2c-davinci.c
@@ -40,8 +40,6 @@
#include <linux/gpio.h>
#include <linux/of_i2c.h>
#include <linux/of_device.h>
-
-#include <mach/hardware.h>
#include <linux/platform_data/i2c-davinci.h>
/* ----- global defines ----------------------------------------------- */