]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i2c: Allow compile test of GPIO consumers if !GPIOLIB
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 5 May 2015 16:32:22 +0000 (18:32 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 12 May 2015 13:22:52 +0000 (15:22 +0200)
commit7e5cd69a9152c70985ebf820e357da59dfa8f152
tree86cc44cd3009d2b5746be13db6e77e36443a4646
parentbea6ff020f3a7228bc6b625071674c5129ffc185
i2c: 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 <geert@linux-m68k.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig
drivers/i2c/muxes/Kconfig