commit | 7e5cd69a9152c70985ebf820e357da59dfa8f152 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert@linux-m68k.org> | Tue May 05 18:32:22 2015 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Tue May 12 15:22:52 2015 +0200 |
tree | 86cc44cd3009d2b5746be13db6e77e36443a4646 | |
parent | bea6ff020f3a7228bc6b625071674c5129ffc185 [diff] |
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>