omap2430: hwmod: remove stray declaration
authorAnand Gadiyar <gadiyar@ti.com>
Tue, 21 Dec 2010 02:48:16 +0000 (18:48 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 21 Dec 2010 02:48:16 +0000 (18:48 -0800)
Patch "OMAP2xxx: hwmod: add I2C hwmods for OMAP2420, 2430"
in linux-next as of 20101203 introduced the following build
warning - fix this by removing the stray i2c_dev_attr.

arch/arm/mach-omap2/omap_hwmod_2430_data.c:483: warning: 'i2c_dev_attr' defined but not used

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod_2430_data.c

index f68409e9fd3e1ad6d8a419faf4b3a5ffb0800f72..ab1d662cb072d53ef173780cf69938ac854461f0 100644 (file)
@@ -480,8 +480,6 @@ static struct omap_hwmod_class i2c_class = {
        .sysc           = &i2c_sysc,
 };
 
-static struct omap_i2c_dev_attr i2c_dev_attr;
-
 /* I2C1 */
 
 static struct omap_i2c_dev_attr i2c1_dev_attr = {