Skip to contentSkip to conversation

powerpc: Fix mpc52xx_gpt when sysfs is not configured

PATCH New Michael Neuling 1 participant 1 message Mar 5, 2009

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

PATCH 1/1 powerpc: Fix mpc52xx_gpt when sysfs is not configured

mpc52xx_gpt_create_attribs is missing a parameter name and shouldn't return anything since it's void.

---
This is against benh's testing tree

 arch/powerpc/platforms/52xx/mpc52xx_gpt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/52xx/mpc52xx_gpt.c +1 -1
Index: clone1/arch/powerpc/platforms/52xx/mpc52xx_gpt.c
===================================================================
@@ -370,7 +370,7 @@ static void mpc52xx_gpt_create_attribs(s
 }
 
 #else /* defined(CONFIG_SYSFS) */
-static void mpc52xx_gpt_create_attribs(struct mpc52xx_gpt_priv *) { return 0; }
+static void mpc52xx_gpt_create_attribs(struct mpc52xx_gpt_priv *gpt) {}
 #endif /* defined(CONFIG_SYSFS) */
 
 /* ---------------------------------------------------------------------