diff options
| author | Randy Dunlap <[email protected]> | 2020-12-14 23:33:36 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-01-04 14:54:27 +0000 |
| commit | 6a4b1f2dff558d75ee4f2ce88595a933b6918183 (patch) | |
| tree | 79f406256fae642748aed6abd4534eda63800005 /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | tools/power/x86/intel-speed-select: Set higher of cpuinfo_max_freq or base_fr... (diff) | |
| download | kernel-6a4b1f2dff558d75ee4f2ce88595a933b6918183.tar.gz kernel-6a4b1f2dff558d75ee4f2ce88595a933b6918183.zip | |
platform/surface: surface_gpe: Fix non-PM_SLEEP build warnings
Fix build warnings when CONFIG_PM_SLEEP is not enabled and these
functions are not used:
../drivers/platform/surface/surface_gpe.c:189:12: warning: ‘surface_gpe_resume’ defined but not used [-Wunused-function]
static int surface_gpe_resume(struct device *dev)
^~~~~~~~~~~~~~~~~~
../drivers/platform/surface/surface_gpe.c:184:12: warning: ‘surface_gpe_suspend’ defined but not used [-Wunused-function]
static int surface_gpe_suspend(struct device *dev)
^~~~~~~~~~~~~~~~~~~
Fixes: 274335f1c557 ("platform/surface: Add Driver to set up lid GPEs on MS Surface device")
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Maximilian Luz <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: [email protected]
Reviewed-by: Maximilian Luz <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions
