From: Pavel Roskin Date: Tue, 19 May 2009 01:43:52 +0000 (-0400) Subject: cfg80211: fix compile error with CONFIG_CFG80211_DEBUGFS X-Git-Tag: v2.6.31-rc1~330^2~313^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e43e820c9cc5cc37ca8fc07d1f18cb29f13a2ce8;p=pandora-kernel.git cfg80211: fix compile error with CONFIG_CFG80211_DEBUGFS If CONFIG_CFG80211_DEBUGFS is enabled and CONFIG_MAC80211_DEBUGFS is not, compilation fails in net/wireless/debugfs.c: net/wireless/debugfs.c: In function 'cfg80211_debugfs_drv_add': net/wireless/debugfs.c:117: error: 'struct cfg80211_registered_device' has no member named 'debugfs' The debugfs filed is needed if and only if CONFIG_CFG80211_DEBUGFS is enabled, so use that instead of CONFIG_MAC80211_DEBUGFS. Signed-off-by: Pavel Roskin Signed-off-by: John W. Linville --- Reading git-diff-tree failed