]> git.baikalelectronics.ru Git - kernel.git/commit
iio: trigger: make stub functions static inline
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 20 Jul 2020 13:51:33 +0000 (16:51 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 22 Aug 2020 09:53:18 +0000 (10:53 +0100)
commita3a2071200128eee481a72e3847f5f585adb512b
treeeafac66f309c4152ac96aa5b493db6084240d8c5
parentb921eb10c5b86af37ec7e66e64e8b0a6d947d412
iio: trigger: make stub functions static inline

Make sure that the trigger function stubs are all static inline.
Otherwise we might see compiler warnings about declared but unused
functions.

Fixes f6f6d8f8b8805: ("Staging: iio: Staticise non-exported functions")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/iio_core_trigger.h