Skip to content

CNB: PM: core: Remove static qualifier in DEFINE_SIMPLE_DEV_PM_OPS macro

Íñigo Huguet requested to merge ihuguet-rh/kernel-cs9:cnb_static_pm_ops into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2147541
Tested: no testing needed

Conflicts: removed chunks of unsupported jz4740_mmc and mxcmmc

commit 52cc1d7f9786d2be44a3ab9b5b48416a7618e713
Author: Paul Cercueil <paul@crapouillou.net>
Date:   Fri Jan 7 18:17:19 2022 +0000

    PM: core: Remove static qualifier in DEFINE_SIMPLE_DEV_PM_OPS macro
    
    Keep this macro in line with the other ones. This makes it possible to
    use them in the cases where the underlying dev_pm_ops structure is
    exported.
    
    Restore the "static" qualifier in the two drivers where the
    DEFINE_SIMPLE_DEV_PM_OPS macro was used.
    
    Signed-off-by: Paul Cercueil <paul@crapouillou.net>
    Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
    Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Signed-off-by: Íñigo Huguet ihuguet@redhat.com

Merge request reports