From: Geert Uytterhoeven Date: Tue, 5 May 2015 16:32:21 +0000 (+0200) Subject: hwmon: Allow compile test of GPIO consumers if !GPIOLIB X-Git-Tag: omap-for-v4.3/legacy-v2-signed~189^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1376e2c3d7df80c3fa0574a5320f79b84c8fe880;p=pandora-kernel.git hwmon: Allow compile test of GPIO consumers if !GPIOLIB The GPIO subsystem provides dummy GPIO consumer functions if GPIOLIB is not enabled. Hence drivers that depend on GPIOLIB, but use GPIO consumer functionality only, can still be compiled if GPIOLIB is not enabled. Relax the dependency on GPIOLIB if COMPILE_TEST is enabled, where appropriate. Signed-off-by: Geert Uytterhoeven Cc: Jean Delvare Cc: Guenter Roeck Cc: lm-sensors@lm-sensors.org Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed