From: Tom "spot" Callaway Date: Thu, 13 Dec 2007 17:33:50 +0000 (-0800) Subject: [ATM]: Fix compiler warning noise with FORE200E driver X-Git-Tag: v2.6.24-rc6~67^2~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f58adb757be48068e2bded3dd77ba072c22a10ff;p=pandora-kernel.git [ATM]: Fix compiler warning noise with FORE200E driver gcc throws these warnings with: CONFIG_ATM_FORE200E=m # CONFIG_ATM_FORE200E_PCA is not set drivers/atm/fore200e.c:2695: warning: 'fore200e_pca_detect' defined but not used drivers/atm/fore200e.c:2748: warning: 'fore200e_pca_remove_one' defined but not used By moving the #ifdef CONFIG_ATM_FORE200E_PCA around those two functions, the compiler warnings are silenced. Signed-off-by: Tom "spot" Callaway Signed-off-by: David S. Miller --- Reading git-diff-tree failed