From: Hauke Mehrtens Date: Sat, 27 Nov 2010 06:47:43 +0000 (+0000) Subject: b44: fix workarround for wap54g10 X-Git-Tag: v2.6.37-rc6~14^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c08af030212d1a34593397bb01f262ff31c3629;p=pandora-kernel.git b44: fix workarround for wap54g10 The code for the b44_wap54g10_workaround was never included, because the config option was wrong. The nvram_get function was never in mainline kernel, only in external OpenWrt patches. The code should be compiled in when CONFIG_BCM47XX is selected and not when CONFIG_SSB_DRIVER_MIPS is selected, because nvram_getenv is only available on bcm47xx platforms and now in the mainline kernel code. Using an include is better than a second function declaration, to fix this when the function signature changes. Signed-off-by: Hauke Mehrtens Signed-off-by: David S. Miller --- Reading git-diff-tree failed