Skip to content
Unverified Commit 150d04dd authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Krzysztof Wilczyński
Browse files

PCI: endpoint: pci-epf-mhi: Make structs pci_epf_ops and pci_epf_event_ops const



Both the pci_epf_ops and pci_epf_evnt_ops structs for the PCI endpoint
MHI driver are never modified.

Mark them as const so they can be placed in the read-only section.

[kwilczynski: commit log]
Link: https://lore.kernel.org/linux-pci/20230722230848.589428-2-lars@metafoo.de
Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarKrzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: default avatarManivannan Sadhasivam <mani@kernel.org>
parent 86362293
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment