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/acpi.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
@@ -668,8 +669,6 @@ static const struct intel_pinctrl_soc_data icln_soc_data = {
668
669
.ncommunities = ARRAY_SIZE (icln_communities ),
669
670
};
670
671
671
- static INTEL_PINCTRL_PM_OPS (icl_pinctrl_pm_ops );
672
-
673
672
static const struct acpi_device_id icl_pinctrl_acpi_match [] = {
674
673
{ "INT3455" , (kernel_ulong_t )& icllp_soc_data },
675
674
{ "INT34C3" , (kernel_ulong_t )& icln_soc_data },
@@ -682,7 +681,7 @@ static struct platform_driver icl_pinctrl_driver = {
682
681
.driver = {
683
682
.name = "icelake-pinctrl" ,
684
683
.acpi_match_table = icl_pinctrl_acpi_match ,
685
- .pm = & icl_pinctrl_pm_ops ,
684
+ .pm = pm_sleep_ptr ( & intel_pinctrl_pm_ops ) ,
686
685
},
687
686
};
688
687
module_platform_driver (icl_pinctrl_driver );
You can’t perform that action at this time.
0 commit comments