public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ppc: cs4218_tdm remove extra brace
@ 2006-11-30 12:48 Mariusz Kozlowski
  2006-12-03 22:24 ` Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Mariusz Kozlowski @ 2006-11-30 12:48 UTC (permalink / raw)
  To: marcelo; +Cc: linuxppc-embedded, linux-kernel

Hello,

	I tried to find where does this line come from. Googled a bit with
no luck. Probably somewhere between 2.5.10 and 2.5.20 some patch generated
this leftover.


static struct timer_list beep_timer = {
        function: cs_nosound
};

changed to:

static struct timer_list beep_timer = TIMER_INITIALIZER(cs_nosound, 0, 0);
};


The patch below removes this extra line.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

 arch/ppc/8xx_io/cs4218_tdm.c |    1 -
 1 file changed, 1 deletion(-)

--- linux-2.6.19-rc6-mm2-a/arch/ppc/8xx_io/cs4218_tdm.c	2006-11-28 12:16:29.000000000 +0100
+++ linux-2.6.19-rc6-mm2-b/arch/ppc/8xx_io/cs4218_tdm.c	2006-11-29 16:12:22.000000000 +0100
@@ -1379,7 +1379,6 @@ static void cs_nosound(unsigned long xx)
 }
 
 static DEFINE_TIMER(beep_timer, cs_nosound, 0, 0);
-};
 
 static void cs_mksound(unsigned int hz, unsigned int ticks)
 {


-- 
Regards,

	Mariusz Kozlowski

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-03 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-30 12:48 [PATCH] ppc: cs4218_tdm remove extra brace Mariusz Kozlowski
2006-12-03 22:24 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox