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
@@ -301,8 +302,6 @@ static const struct intel_pinctrl_soc_data lbg_soc_data = {
301
302
.ncommunities = ARRAY_SIZE (lbg_communities ),
302
303
};
303
304
304
- static INTEL_PINCTRL_PM_OPS (lbg_pinctrl_pm_ops );
305
-
306
305
static const struct acpi_device_id lbg_pinctrl_acpi_match [] = {
307
306
{ "INT3536" , (kernel_ulong_t )& lbg_soc_data },
308
307
{ }
@@ -314,7 +313,7 @@ static struct platform_driver lbg_pinctrl_driver = {
314
313
.driver = {
315
314
.name = "lewisburg-pinctrl" ,
316
315
.acpi_match_table = lbg_pinctrl_acpi_match ,
317
- .pm = & lbg_pinctrl_pm_ops ,
316
+ .pm = pm_sleep_ptr ( & intel_pinctrl_pm_ops ) ,
318
317
},
319
318
};
320
319
module_platform_driver (lbg_pinctrl_driver );
You can’t perform that action at this time.
0 commit comments