summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2013-07-25 16:59:25 -0400
committerWolfram Sang <wsa@the-dreams.de>2013-08-15 14:28:50 +0200
commit9adad4dfd121bb529ef028d3785310275ccbcc47 (patch)
tree709a15d258ca3a4405e842a2fbf827f75bde0754
parent2fb9ac0cb446ab6ae8add7d9987b42bbfccd94b9 (diff)
downloadkernel-common-9adad4dfd121bb529ef028d3785310275ccbcc47.tar.gz
kernel-common-9adad4dfd121bb529ef028d3785310275ccbcc47.tar.bz2
kernel-common-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>
-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 ----------------------------------------------- */