浏览代码

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>
Santosh Shilimkar 12 年之前
父节点
当前提交
9adad4dfd1
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/i2c/busses/i2c-davinci.c

+ 0 - 2
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 ----------------------------------------------- */