linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc: Fix mpc52xx_gpt when sysfs is not configured
@ 2009-03-05  6:03 Michael Neuling
  0 siblings, 0 replies; only message in thread
From: Michael Neuling @ 2009-03-05  6:03 UTC (permalink / raw)
  To: grant.likely, Wolfram Sang; +Cc: linuxppc-dev

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

Signed-off-by: Michael Neuling <mikey@neuling.org>
---
This is against benh's testing tree

 arch/powerpc/platforms/52xx/mpc52xx_gpt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: clone1/arch/powerpc/platforms/52xx/mpc52xx_gpt.c
===================================================================
--- clone1.orig/arch/powerpc/platforms/52xx/mpc52xx_gpt.c
+++ 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) */
 
 /* ---------------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-05  6:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05  6:03 [PATCH] powerpc: Fix mpc52xx_gpt when sysfs is not configured Michael Neuling

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).