diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-09-18 14:33:54 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-09-18 14:33:54 +0000 |
commit | 3d8f232fdab46b60d14a8a02a7fd22790963ac99 (patch) | |
tree | 8892d0b0f3d1c661f19176ad1b760cd39ec9a96c /package/kernel | |
parent | df9cbcd450a89878e9e882a8dd442c0b3febd6c5 (diff) | |
download | upstream-3d8f232fdab46b60d14a8a02a7fd22790963ac99.tar.gz upstream-3d8f232fdab46b60d14a8a02a7fd22790963ac99.tar.bz2 upstream-3d8f232fdab46b60d14a8a02a7fd22790963ac99.zip |
brcm47xx: update board detection patches
This is now the version which was send for mainline Linux kernel
inclusion. The data needed to detection a board is now stored in init
data.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38036 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/broadcom-diag/src/diag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/broadcom-diag/src/diag.c b/package/kernel/broadcom-diag/src/diag.c index d4ba0b0fbe..78cb764629 100644 --- a/package/kernel/broadcom-diag/src/diag.c +++ b/package/kernel/broadcom-diag/src/diag.c @@ -1344,7 +1344,7 @@ static struct platform_t __init *platform_detect(void) board = bcm47xx_board_get(); board_name = bcm47xx_board_get_name(); - if (board != BCM47XX_BOARD_UNKNOWN && board != BCM47XX_BOARD_NON) + if (board != BCM47XX_BOARD_UNKNOWN && board != BCM47XX_BOARD_NO) printk(MODULE_NAME ": kernel found a \"%s\"\n", board_name); switch(board) { @@ -1447,7 +1447,7 @@ static struct platform_t __init *platform_detect(void) case BCM47XX_BOARD_NETGEAR_WNDR3700V3: return &platforms[WNDR3700V3]; case BCM47XX_BOARD_UNKNOWN: - case BCM47XX_BOARD_NON: + case BCM47XX_BOARD_NO: printk(MODULE_NAME ": unknown board found, try legacy detect\n"); printk(MODULE_NAME ": please open a ticket at https://dev.openwrt.org and attach the complete nvram\n"); return platform_detect_legacy(); |