rtlwifi: rtl818x: constify rtl_intf_ops structures
The rtl_intf_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
@@ -2456,7 +2456,7 @@ int rtl_pci_resume(struct device *dev)
|
||||
EXPORT_SYMBOL(rtl_pci_resume);
|
||||
#endif /* CONFIG_PM_SLEEP */
|
||||
|
||||
struct rtl_intf_ops rtl_pci_ops = {
|
||||
const struct rtl_intf_ops rtl_pci_ops = {
|
||||
.read_efuse_byte = read_efuse_byte,
|
||||
.adapter_start = rtl_pci_start,
|
||||
.adapter_stop = rtl_pci_stop,
|
||||
|
Reference in New Issue
Block a user