From: Guenter Roeck Date: Wed, 4 Mar 2015 17:51:05 +0000 (-0800) Subject: hwmon: (pwm-fan) Declare pwm_fan_of_get_cooling_data static X-Git-Tag: omap-for-v4.2/o2_dc~170^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de52b049d6d5af635d628d17fcb466d53a9617af;p=pandora-kernel.git hwmon: (pwm-fan) Declare pwm_fan_of_get_cooling_data static Address the following sparse warnings. drivers/hwmon/pwm-fan.c:176:5: warning: symbol 'pwm_fan_of_get_cooling_data' was not declared. Should it be static? drivers/hwmon/pwm-fan.c:176:5: warning: no previous prototype for 'pwm_fan_of_get_cooling_data' pwm_fan_of_get_cooling_data is only used in the pwm-fan driver and thus should be declared static. Cc: Lukasz Majewski Acked-by: Lukasz Majewski Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed