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
@@ -347,14 +348,12 @@ static const struct acpi_device_id lkf_pinctrl_acpi_match[] = {
347
348
};
348
349
MODULE_DEVICE_TABLE (acpi , lkf_pinctrl_acpi_match );
349
350
350
- static INTEL_PINCTRL_PM_OPS (lkf_pinctrl_pm_ops );
351
-
352
351
static struct platform_driver lkf_pinctrl_driver = {
353
352
.probe = intel_pinctrl_probe_by_hid ,
354
353
.driver = {
355
354
.name = "lakefield-pinctrl" ,
356
355
.acpi_match_table = lkf_pinctrl_acpi_match ,
357
- .pm = & lkf_pinctrl_pm_ops ,
356
+ .pm = pm_sleep_ptr ( & intel_pinctrl_pm_ops ) ,
358
357
},
359
358
};
360
359
module_platform_driver (lkf_pinctrl_driver );
You can’t perform that action at this time.
0 commit comments