i2c: at91: mark PM ops as __maybe unused
authorWolfram Sang <wsa@kernel.org>
Wed, 11 Aug 2021 13:10:02 +0000 (15:10 +0200)
committerWolfram Sang <wsa@kernel.org>
Wed, 11 Aug 2021 13:54:01 +0000 (15:54 +0200)
commita2c21668a0fe6640bd6b3069bb569e3b201ef92d
tree58b80b9228d8520d1f50775455ba00e4dadb0f55
parente5a7cb0d9002e3c963df2fa504f536f878a76888
i2c: at91: mark PM ops as __maybe unused

The driver uses pm_ptr(), so the PM ops could be unused.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: dab4b0e8c9a5 ("i2c: at91: remove #define CONFIG_PM")
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-at91-core.c