From: Geert Uytterhoeven Date: Tue, 5 May 2015 16:32:32 +0000 (+0200) Subject: regulator: Allow compile test of GPIO consumers if !GPIOLIB X-Git-Tag: omap-for-v4.2/fixes-rc1^2~145^2~2^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eac5fdfabc67603fcdc5b59079ff6da90e17a16;p=pandora-kernel.git regulator: 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed