commit | f0b58be61cf0f21d346213963ad3405ab57c53e3 | [log] [tgz] |
---|---|---|
author | Luca Coelho <luciano.coelho@intel.com> | Wed Dec 16 16:26:34 2020 +0200 |
committer | Hauke Mehrtens <hauke@hauke-m.de> | Sun Feb 14 18:29:22 2021 +0100 |
tree | 10f35aa04273d7dfbec9c39b24877b52d2564337 | |
parent | 3a9d70a32ea5bbc2c13370cc5cf253fce4c51d20 [diff] |
backport: declare GPIO own_desc functions if GPIOLIB is not defined In kernels older than v5.4, the gpiochip_request_own_desc() and the gpiochip_free_own_desc() functions are declared inside a CONFIG_GPIOLIB ifdef, so we need to declare them in our implementation to avoid compilation problems. Change-Id: Ic6da0d7ff9d99c64d110da63fb950fb555fd2782 Signed-off-by: Luca Coelho <luciano.coelho@intel.com>