[PATCH v2] drm/rockchip: cdn-dp-core: Fix cdn_dp_resume unused warning

Palmer Dabbelt palmer at dabbelt.com
Tue Sep 21 15:04:10 UTC 2021


On Tue, 21 Sep 2021 02:12:17 PDT (-0700), heiko at sntech.de wrote:
> 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.
>
> Applied, thanks!
>
> [1/1] drm/rockchip: cdn-dp-core: Fix cdn_dp_resume unused warning
>       commit: f7c57a4566115657c16fd6603b6ef8a21bae5194

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.


More information about the dri-devel mailing list