linux/brcm47xx: fix an initialization issue on 2.6.36 kernel

SVN-Revision: 23392
This commit is contained in:
Alexandros C. Couloumbis 2010-10-11 12:37:16 +00:00
parent fad16eb736
commit 9cb3333c0d

View file

@ -0,0 +1,11 @@
--- a/arch/mips/bcm47xx/setup.c
+++ b/arch/mips/bcm47xx/setup.c
@@ -84,7 +84,7 @@ static void str2eaddr(char *str, char *d
static void bcm47xx_fill_sprom(struct ssb_sprom *sprom)
{
char buf[100];
- u32 boardflags;
+ u32 uninitialized_var(boardflags);
memset(sprom, 0, sizeof(struct ssb_sprom));