File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
drivers/pci/controller/mobiveil Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ static void ls_g4_pcie_reset(struct work_struct *work)
190190 ls_g4_pcie_enable_interrupt (pcie );
191191}
192192
193- static struct mobiveil_rp_ops ls_g4_pcie_rp_ops = {
193+ static const struct mobiveil_rp_ops ls_g4_pcie_rp_ops = {
194194 .interrupt_init = ls_g4_pcie_interrupt_init ,
195195};
196196
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ struct mobiveil_rp_ops {
151151struct mobiveil_root_port {
152152 void __iomem * config_axi_slave_base ; /* endpoint config base */
153153 struct resource * ob_io_res ;
154- struct mobiveil_rp_ops * ops ;
154+ const struct mobiveil_rp_ops * ops ;
155155 int irq ;
156156 raw_spinlock_t intx_mask_lock ;
157157 struct irq_domain * intx_domain ;
You can’t perform that action at this time.
0 commit comments