From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Michael Neuling To: grant.likely@secretlab.ca, Wolfram Sang MIME-Version: 1.0 Subject: [PATCH] powerpc: Fix mpc52xx_gpt when sysfs is not configured Date: Thu, 05 Mar 2009 17:03:59 +1100 Message-ID: <25409.1236233039@neuling.org> Sender: mikey@neuling.org Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , mpc52xx_gpt_create_attribs is missing a parameter name and shouldn't return anything since it's void. Signed-off-by: Michael Neuling --- 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) */ /* ---------------------------------------------------------------------