Skip to contentSkip to conversation

omap2430: hwmod: remove stray declaration

PATCH New Anand Gadiyar 2 participants 2 messages Dec 3, 2010 – Dec 18, 2010

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omap2430: hwmod: remove stray declaration

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

---
 arch/arm/mach-omap2/omap_hwmod_2430_data.c |    2 --
 1 file changed, 2 deletions(-)
arch/arm/mach-omap2/omap_hwmod_2430_data.c +0 -2
Index: mainline/arch/arm/mach-omap2/omap_hwmod_2430_data.c
===================================================================
@@ -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 = {
maintainer
#1 lore raw

PATCH 1/1 omap2430: hwmod: remove stray declaration

Quoted 5 lines · Anand Gadiyar

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

Thanks applying.

Tony