summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap/omap_devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap/omap_devices.c')
-rw-r--r--arch/arm/mach-omap/omap_devices.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap/omap_devices.c b/arch/arm/mach-omap/omap_devices.c
index 056cba541c..30cfdd06b6 100644
--- a/arch/arm/mach-omap/omap_devices.c
+++ b/arch/arm/mach-omap/omap_devices.c
@@ -24,9 +24,3 @@ struct device_d *omap_add_uart(int id, unsigned long base)
return add_ns16550_device(id, base, 1024,
IORESOURCE_MEM_8BIT, &serial_plat);
}
-
-struct device_d *omap_add_i2c(int id, unsigned long base, void *pdata)
-{
- return add_generic_device("i2c-omap", id, NULL, base, SZ_4K,
- IORESOURCE_MEM, pdata);
-}