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
@@ -326,14 +327,12 @@ static const struct acpi_device_id jsl_pinctrl_acpi_match[] = {
326
327
};
327
328
MODULE_DEVICE_TABLE (acpi , jsl_pinctrl_acpi_match );
328
329
329
- static INTEL_PINCTRL_PM_OPS (jsl_pinctrl_pm_ops );
330
-
331
330
static struct platform_driver jsl_pinctrl_driver = {
332
331
.probe = intel_pinctrl_probe_by_hid ,
333
332
.driver = {
334
333
.name = "jasperlake-pinctrl" ,
335
334
.acpi_match_table = jsl_pinctrl_acpi_match ,
336
- .pm = & jsl_pinctrl_pm_ops ,
335
+ .pm = pm_sleep_ptr ( & intel_pinctrl_pm_ops ) ,
337
336
},
338
337
};
339
338
module_platform_driver (jsl_pinctrl_driver );
You can’t perform that action at this time.
0 commit comments