From: Palmer Dabbelt <redacted>
cdn_dp_resume is only used under PM_SLEEP, and now that it's static an
unused function warning is triggered undner !PM_SLEEP. This marks the
function as possibly unused, to avoid triggering compiler warnings.
Fixes: 7c49abb4c2f8 ("drm/rockchip: cdn-dp-core: Make cdn_dp_core_suspend/resume static")
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Palmer Dabbelt <redacted>
---
This is breaking my builds and looks like it'll land after -rc1, so I've put it
on a shared tag for-rockchip-cdn_dp_resume-v2 which will let me pull it in to
my fixes. LMK if you guys want me to send this up on my own, but I'm assuming
that the drm/rockchip folks will handle it.
---
drivers/gpu/drm/rockchip/cdn-dp-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On Fri, 10 Sep 2021 20:43:18 -0700, Palmer Dabbelt wrote:
cdn_dp_resume is only used under PM_SLEEP, and now that it's static an
unused function warning is triggered undner !PM_SLEEP. This marks the
function as possibly unused, to avoid triggering compiler warnings.
On Tue, 21 Sep 2021 02:12:17 PDT (-0700), heiko@sntech.de wrote:
On Fri, 10 Sep 2021 20:43:18 -0700, Palmer Dabbelt wrote:
quoted
cdn_dp_resume is only used under PM_SLEEP, and now that it's static an
unused function warning is triggered undner !PM_SLEEP. This marks the
function as possibly unused, to avoid triggering compiler warnings.
I'm not quite sure where that lives, but is it applied on top of something or is it merged from the tag? Like I said a bit below this in the original patch, this has started to break the build for me and I'd like to pull it in as soon as possible.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi,
Am Dienstag, 21. September 2021, 17:04:10 CEST schrieb Palmer Dabbelt:
On Tue, 21 Sep 2021 02:12:17 PDT (-0700), heiko@sntech.de wrote:
quoted
On Fri, 10 Sep 2021 20:43:18 -0700, Palmer Dabbelt wrote:
quoted
cdn_dp_resume is only used under PM_SLEEP, and now that it's static an
unused function warning is triggered undner !PM_SLEEP. This marks the
function as possibly unused, to avoid triggering compiler warnings.
I'm not quite sure where that lives, but is it applied on top of
something or is it merged from the tag? Like I said a bit below this in
the original patch, this has started to break the build for me and I'd
like to pull it in as soon as possible.