* [PATCH -next] omap2430: hwmod: remove stray declaration
@ 2010-12-03 19:15 Anand Gadiyar
2010-12-18 1:40 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Anand Gadiyar @ 2010-12-03 19:15 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
arch/arm/mach-omap2/omap_hwmod_2430_data.c | 2 --
1 file changed, 2 deletions(-)
Index: mainline/arch/arm/mach-omap2/omap_hwmod_2430_data.c
===================================================================
--- mainline.orig/arch/arm/mach-omap2/omap_hwmod_2430_data.c
+++ 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 = {
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-18 1:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-03 19:15 [PATCH -next] omap2430: hwmod: remove stray declaration Anand Gadiyar
2010-12-18 1:40 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).