From: Ivo van Doorn Date: Tue, 28 Jul 2009 16:58:54 +0000 (+0200) Subject: rt2x00: Fix build error when crypto support is disabled X-Git-Tag: v2.6.32-rc1~703^2~459^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad2f34b41fd6e2b84c896ccf321d5de0a7c7cd52;p=pandora-kernel.git rt2x00: Fix build error when crypto support is disabled When only rt2400pci or rt2500pci is compiled without any of the other rt2x00 modules, then CONFIG_RT2X00_LIB_CRYPTO will not be enabled. However rt2x00mac_set_tim() implemented within #ifdef CONFIG_RT2X00_LIB_CRYPTO statements while the declaration is placed outside the definition. This results in linking errors as reporte by Ken. rt2x00_set_tim() has nothing to do with crypto, and thus should be moved outside of the #ifdef statements. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed