diff options
| author | Richard Fitzgerald <[email protected]> | 2023-02-13 16:50:05 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-02-13 18:17:34 +0000 |
| commit | 41a337b40e983db4f0e1602308109f2b93687a06 (patch) | |
| tree | ad1db4cae5512d9a055f773fd7d8c4f846b3d0c2 /drivers/acpi/cppc_acpi.c | |
| parent | PM: runtime: Document that force_suspend() is incompatible with SMART_SUSPEND (diff) | |
| download | kernel-41a337b40e983db4f0e1602308109f2b93687a06.tar.gz kernel-41a337b40e983db4f0e1602308109f2b93687a06.zip | |
PM: Add EXPORT macros for exporting PM functions
Add a pair of macros for exporting functions only if CONFIG_PM
is enabled.
The naming follows the style of the standard EXPORT_SYMBOL_*()
macros that they replace.
Sometimes a module wants to export PM functions directly to other
drivers, not a complete struct dev_pm_ops. A typical example is
where a core library exports the generic (shared) implementation
and calling code wraps one or more of these in custom code.
Signed-off-by: Richard Fitzgerald <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
