File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 9
9
#include <linux/mod_devicetable.h>
10
10
#include <linux/module.h>
11
11
#include <linux/platform_device.h>
12
+ #include <linux/pm.h>
12
13
13
14
#include <linux/pinctrl/pinctrl.h>
14
15
@@ -589,14 +590,12 @@ static const struct acpi_device_id mtl_pinctrl_acpi_match[] = {
589
590
};
590
591
MODULE_DEVICE_TABLE (acpi , mtl_pinctrl_acpi_match );
591
592
592
- static INTEL_PINCTRL_PM_OPS (mtl_pinctrl_pm_ops );
593
-
594
593
static struct platform_driver mtl_pinctrl_driver = {
595
594
.probe = intel_pinctrl_probe_by_hid ,
596
595
.driver = {
597
596
.name = "meteorlake-pinctrl" ,
598
597
.acpi_match_table = mtl_pinctrl_acpi_match ,
599
- .pm = & mtl_pinctrl_pm_ops ,
598
+ .pm = pm_sleep_ptr ( & intel_pinctrl_pm_ops ) ,
600
599
},
601
600
};
602
601
module_platform_driver (mtl_pinctrl_driver );
You can’t perform that action at this time.
0 commit comments