]> git.baikalelectronics.ru Git - kernel.git/commit
iio:accel:kxcjk-1013: Mark struct __maybe_unused to avoid warning.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 Nov 2021 17:24:45 +0000 (17:24 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 21 Dec 2021 15:10:09 +0000 (15:10 +0000)
commite054cd4cf92181ae92943413d2e33a2dd9a597f1
tree95ee2edb35d155861cc0b50966fa935325b6ee7d
parentca742b06929c44d6f753e1535c3da6ea2f2f302f
iio:accel:kxcjk-1013: Mark struct __maybe_unused to avoid warning.

This structure is only used in PM ops, so may not be used depending
on build configuration.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20211128172445.2616166-13-jic23@kernel.org
drivers/iio/accel/kxcjk-1013.c