Arnd Bergmann
040b8907cc
drm/rockchip: cdn-dp-core: Make cdn_dp_core_resume __maybe_unused
...
With the new static annotation, the compiler warns when the functions
are actually unused:
drivers/gpu/drm/rockchip/cdn-dp-core.c:1123:12: error: 'cdn_dp_resume' defined but not used [-Werror=unused-function]
1123 | static int cdn_dp_resume(struct device *dev)
| ^~~~~~~~~~~~~
Mark them __maybe_unused to suppress that warning as well.
[ Not so 'new' static annotations any more, and I removed the part of
the patch that added __maybe_unused to cdn_dp_suspend(), because it's
used by the shutdown/remove code.
So only the resume function ends up possibly unused if CONFIG_PM isn't
set - Linus ]
Fixes: 7c49abb4c2 ("drm/rockchip: cdn-dp-core: Make cdn_dp_core_suspend/resume static")
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2021-09-16 12:02:33 -07:00
..
2021-09-10 11:22:23 -07:00
2021-08-10 20:00:51 +02:00
2021-08-08 20:27:06 +02:00
2021-08-10 20:00:58 +02:00
2021-08-12 09:56:09 -07:00
2021-08-26 12:47:05 +10:00
2021-08-22 01:56:39 +09:00
2021-08-10 20:13:25 +02:00
2021-08-10 20:13:32 +02:00
2021-08-08 20:27:24 +02:00
2021-07-30 14:52:00 +10:00
2021-08-08 20:27:27 +02:00
2021-08-10 20:14:01 +02:00
2021-09-10 11:22:23 -07:00
2021-09-01 11:26:46 -07:00
2021-08-11 15:49:15 +02:00
2021-09-01 11:26:46 -07:00
2021-07-30 14:52:00 +10:00
2021-09-01 11:26:46 -07:00
2021-09-01 11:26:46 -07:00
2021-08-10 20:14:01 +02:00
2021-08-18 20:47:59 +02:00
2021-09-03 15:33:47 -07:00
2021-08-10 20:13:45 +02:00
2021-09-03 10:34:44 -07:00
2021-07-28 16:33:12 +03:00
2021-09-01 11:26:46 -07:00
2021-08-25 15:40:19 +01:00
2021-07-31 20:52:01 +02:00
2021-08-10 20:14:01 +02:00
2021-08-30 09:06:03 +10:00
2021-07-28 16:33:32 +03:00
2021-09-16 12:02:33 -07:00
2021-08-02 11:15:11 +02:00
2021-07-25 11:01:12 +02:00
2021-07-28 16:33:12 +03:00
2021-07-28 16:33:12 +03:00
2021-08-26 13:05:19 +10:00
2021-08-10 20:13:49 +02:00
2021-08-10 20:13:53 +02:00
2021-08-08 20:27:40 +02:00
2021-09-14 13:36:02 -07:00
2021-08-08 20:27:44 +02:00
2021-08-08 20:27:49 +02:00
2021-08-18 09:37:17 +02:00
2021-08-10 20:14:01 +02:00
2021-08-12 14:58:31 +02:00
2021-08-08 20:27:52 +02:00
2021-09-02 14:47:21 -07:00
2021-08-09 02:28:05 +03:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-05 12:08:15 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-07-27 12:48:17 +02:00
2021-08-02 10:19:43 +02:00
2021-08-11 08:47:08 +10:00
2021-08-02 10:19:43 +02:00
2021-07-27 18:58:28 -04:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-08 20:26:16 +02:00
2021-08-08 20:26:16 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-17 13:56:03 -04:00
2021-08-02 10:19:43 +02:00
2021-08-10 20:14:01 +02:00
2021-07-30 11:55:41 +02:00
2021-08-10 20:14:01 +02:00
2021-07-23 20:17:59 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-09-02 14:47:21 -07:00
2021-08-19 09:02:55 +09:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-02 10:19:43 +02:00
2021-08-08 20:14:08 +02:00
2021-08-02 10:19:43 +02:00
2021-08-10 20:14:01 +02:00
2021-08-02 10:19:43 +02:00
2021-08-18 18:26:10 -04:00