i2c: davinci: remove useless mach/hardware include
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Thu, 25 Jul 2013 20:59:25 +0000 (16:59 -0400)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 15 Aug 2013 12:28:50 +0000 (14:28 +0200)
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>
drivers/i2c/busses/i2c-davinci.c

index fa55605..5898df3 100644 (file)
@@ -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 ----------------------------------------------- */