brcm47xx: fix warning introduced in r22516.
SVN-Revision: 22521
This commit is contained in:
parent
98746d4e8b
commit
788561a909
1 changed files with 1 additions and 1 deletions
|
@ -1047,7 +1047,7 @@ static struct platform_t __init *platform_detect(void)
|
|||
return &platforms[WDNetCenter];
|
||||
}
|
||||
|
||||
if (!strcmp(boardnum, "08") || !strcmp(boardnum, "01") &&
|
||||
if ((!strcmp(boardnum, "08") || !strcmp(boardnum, "01")) &&
|
||||
!strcmp(boardtype,"0x0472") && !strcmp(getvar("cardbus"), "1")) { /* Netgear WNR834B V1 and V2*/
|
||||
/* TODO: Check for version. Default platform is V2 for now. */
|
||||
return &platforms[WNR834BV2];
|
||||
|
|
Loading…
Reference in a new issue