File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ static struct pci_driver snd_sof_pci_amd_acp63_driver = {
104104 .probe = acp63_pci_probe ,
105105 .remove = acp63_pci_remove ,
106106 .driver = {
107- .pm = & sof_pci_pm ,
107+ .pm = pm_ptr ( & sof_pci_pm ) ,
108108 },
109109};
110110module_pci_driver (snd_sof_pci_amd_acp63_driver );
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ static struct pci_driver snd_sof_pci_amd_acp70_driver = {
100100 .probe = acp70_pci_probe ,
101101 .remove = acp70_pci_remove ,
102102 .driver = {
103- .pm = & sof_pci_pm ,
103+ .pm = pm_ptr ( & sof_pci_pm ) ,
104104 },
105105};
106106module_pci_driver (snd_sof_pci_amd_acp70_driver );
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ static struct pci_driver snd_sof_pci_amd_rn_driver = {
9797 .probe = acp_pci_rn_probe ,
9898 .remove = acp_pci_rn_remove ,
9999 .driver = {
100- .pm = & sof_pci_pm ,
100+ .pm = pm_ptr ( & sof_pci_pm ) ,
101101 },
102102};
103103module_pci_driver (snd_sof_pci_amd_rn_driver );
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ static struct pci_driver snd_sof_pci_amd_vgh_driver = {
9090 .probe = acp_pci_vgh_probe ,
9191 .remove = acp_pci_vgh_remove ,
9292 .driver = {
93- .pm = & sof_pci_pm ,
93+ .pm = pm_ptr ( & sof_pci_pm ) ,
9494 },
9595};
9696module_pci_driver (snd_sof_pci_amd_vgh_driver );
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ static struct pci_driver snd_sof_pci_intel_apl_driver = {
9999 .remove = sof_pci_remove ,
100100 .shutdown = sof_pci_shutdown ,
101101 .driver = {
102- .pm = & sof_pci_pm ,
102+ .pm = pm_ptr ( & sof_pci_pm ) ,
103103 },
104104};
105105module_pci_driver (snd_sof_pci_intel_apl_driver );
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ static struct pci_driver snd_sof_pci_intel_cnl_driver = {
137137 .remove = sof_pci_remove ,
138138 .shutdown = sof_pci_shutdown ,
139139 .driver = {
140- .pm = & sof_pci_pm ,
140+ .pm = pm_ptr ( & sof_pci_pm ) ,
141141 },
142142};
143143module_pci_driver (snd_sof_pci_intel_cnl_driver );
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ static struct pci_driver snd_sof_pci_intel_icl_driver = {
102102 .remove = sof_pci_remove ,
103103 .shutdown = sof_pci_shutdown ,
104104 .driver = {
105- .pm = & sof_pci_pm ,
105+ .pm = pm_ptr ( & sof_pci_pm ) ,
106106 },
107107};
108108module_pci_driver (snd_sof_pci_intel_icl_driver );
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ static struct pci_driver snd_sof_pci_intel_lnl_driver = {
7272 .remove = sof_pci_remove ,
7373 .shutdown = sof_pci_shutdown ,
7474 .driver = {
75- .pm = & sof_pci_pm ,
75+ .pm = pm_ptr ( & sof_pci_pm ) ,
7676 },
7777};
7878module_pci_driver (snd_sof_pci_intel_lnl_driver );
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ static struct pci_driver snd_sof_pci_intel_mtl_driver = {
135135 .remove = sof_pci_remove ,
136136 .shutdown = sof_pci_shutdown ,
137137 .driver = {
138- .pm = & sof_pci_pm ,
138+ .pm = pm_ptr ( & sof_pci_pm ) ,
139139 },
140140};
141141module_pci_driver (snd_sof_pci_intel_mtl_driver );
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ static struct pci_driver snd_sof_pci_intel_ptl_driver = {
7171 .remove = sof_pci_remove ,
7272 .shutdown = sof_pci_shutdown ,
7373 .driver = {
74- .pm = & sof_pci_pm ,
74+ .pm = pm_ptr ( & sof_pci_pm ) ,
7575 },
7676};
7777module_pci_driver (snd_sof_pci_intel_ptl_driver );
You can’t perform that action at this time.
0 commit comments