diff options
author | Felipe Balbi <balbi@ti.com> | 2011-01-27 19:39:41 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-01-27 19:39:41 -0500 |
commit | 790a26f65bac8ddb7dc4a4685aebe46430a1c9b6 (patch) | |
tree | 5bc1c05713d220c79b5fb2514b616192201e2c2a /arch/arm/plat-omap/i2c.c | |
parent | 59b479e0985f0b795d68331d6443a7f89c47768d (diff) |
arm: omap: i2c: fix compile warning
Fix the following compile warning:
arch/arm/plat-omap/i2c.c:120:13: warning:
'omap_pm_set_max_mpu_wakeup_lat_compat' defined but not used
arch/arm/plat-omap/i2c.c:125:38: warning: 'omap_i2c_latency'
defined but not used
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/i2c.c')
-rw-r--r-- | arch/arm/plat-omap/i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/i2c.c b/arch/arm/plat-omap/i2c.c index a4f8003de664..3341ca4703e9 100644 --- a/arch/arm/plat-omap/i2c.c +++ b/arch/arm/plat-omap/i2c.c | |||
@@ -112,6 +112,7 @@ static inline int omap1_i2c_add_bus(int bus_id) | |||
112 | } | 112 | } |
113 | 113 | ||
114 | 114 | ||
115 | #ifdef CONFIG_ARCH_OMAP2PLUS | ||
115 | /* | 116 | /* |
116 | * XXX This function is a temporary compatibility wrapper - only | 117 | * XXX This function is a temporary compatibility wrapper - only |
117 | * needed until the I2C driver can be converted to call | 118 | * needed until the I2C driver can be converted to call |
@@ -130,7 +131,6 @@ static struct omap_device_pm_latency omap_i2c_latency[] = { | |||
130 | }, | 131 | }, |
131 | }; | 132 | }; |
132 | 133 | ||
133 | #ifdef CONFIG_ARCH_OMAP2PLUS | ||
134 | static inline int omap2_i2c_add_bus(int bus_id) | 134 | static inline int omap2_i2c_add_bus(int bus_id) |
135 | { | 135 | { |
136 | int l; | 136 | int l; |