We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents db2cc94 + cd09a6a commit 9965133Copy full SHA for 9965133
2 files changed
drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c
@@ -190,7 +190,7 @@ static void ls_g4_pcie_reset(struct work_struct *work)
190
ls_g4_pcie_enable_interrupt(pcie);
191
}
192
193
-static struct mobiveil_rp_ops ls_g4_pcie_rp_ops = {
+static const struct mobiveil_rp_ops ls_g4_pcie_rp_ops = {
194
.interrupt_init = ls_g4_pcie_interrupt_init,
195
};
196
drivers/pci/controller/mobiveil/pcie-mobiveil.h
@@ -151,7 +151,7 @@ struct mobiveil_rp_ops {
151
struct mobiveil_root_port {
152
void __iomem *config_axi_slave_base; /* endpoint config base */
153
struct resource *ob_io_res;
154
- struct mobiveil_rp_ops *ops;
+ const struct mobiveil_rp_ops *ops;
155
int irq;
156
raw_spinlock_t intx_mask_lock;
157
struct irq_domain *intx_domain;
0 commit comments