From: Geert Uytterhoeven Date: Tue, 5 May 2015 16:32:36 +0000 (+0200) Subject: Staging: iio: Allow compile test of GPIO consumers if !GPIOLIB X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~628^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9291766476f3b067c740fe9cc0b4cd78ace27409;p=pandora-kernel.git Staging: iio: 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: Jonathan Cameron Cc: linux-iio@vger.kernel.org Cc: devel@driverdev.osuosl.org Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed