2009-07-15 02:21:48

by Subrata Modak

[permalink] [raw]
Subject: [PATCH 06/06] Fix compilation warning for sound/drivers/serial/u16550.c

Following fix is inspired by David Howells fix few days back:
http://lkml.org/lkml/2009/7/9/109,

Signed-off-by: Subrata Modak<[email protected]>,
---

--- a/sound/drivers/serial-u16550.c 2009-05-20 10:48:23.000000000 +0530
+++ b/sound/drivers/serial-u16550.c 2009-07-15 06:46:48.000000000 +0530
@@ -902,7 +902,7 @@ static int __devinit snd_uart16550_rmidi
static int __devinit snd_serial_probe(struct platform_device *devptr)
{
struct snd_card *card;
- struct snd_uart16550 *uart;
+ struct snd_uart16550 *uninitialized_var(uart);
int err;
int dev = devptr->id;


---
Regards--
Subrata