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 10
10
#include <linux/mod_devicetable.h>
11
11
#include <linux/module.h>
12
12
#include <linux/platform_device.h>
13
+ #include <linux/pm.h>
13
14
14
15
#include <linux/pinctrl/pinctrl.h>
15
16
@@ -743,14 +744,12 @@ static const struct acpi_device_id tgl_pinctrl_acpi_match[] = {
743
744
};
744
745
MODULE_DEVICE_TABLE (acpi , tgl_pinctrl_acpi_match );
745
746
746
- static INTEL_PINCTRL_PM_OPS (tgl_pinctrl_pm_ops );
747
-
748
747
static struct platform_driver tgl_pinctrl_driver = {
749
748
.probe = intel_pinctrl_probe_by_hid ,
750
749
.driver = {
751
750
.name = "tigerlake-pinctrl" ,
752
751
.acpi_match_table = tgl_pinctrl_acpi_match ,
753
- .pm = & tgl_pinctrl_pm_ops ,
752
+ .pm = pm_sleep_ptr ( & intel_pinctrl_pm_ops ) ,
754
753
},
755
754
};
756
755
module_platform_driver (tgl_pinctrl_driver );
You can’t perform that action at this time.
0 commit comments