]> git.baikalelectronics.ru Git - kernel.git/commit
iio: light: cm32181: Mark the dev_pm_ops static.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 7 Aug 2022 14:54:57 +0000 (15:54 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 15 Aug 2022 21:30:01 +0000 (22:30 +0100)
commite8ada9490da6b729cd8677b977d4bd4be692b66b
tree3c10fe068335abcf0dd8fafc3d5fc8515737a198
parent8bddb685bc68ba9c067accf2cc12c2d60f73c9e7
iio: light: cm32181: Mark the dev_pm_ops static.

Only accessed from the local file.
Warning:
  drivers/iio/light/cm32181.c:508:1: warning: symbol 'cm32181_pm_ops' was not declared. Should it be static?

Fixes: 32464906eb8e ("iio: light: cm32181: Add PM support")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Kai-Heng Feng <kai.heng.feng@canonical.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220807145457.646062-3-jic23@kernel.org
drivers/iio/light/cm32181.c