summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/realtek/rtlwifi/pci.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2016-05-01 21:57:44 +0200
committerKalle Valo <kvalo@codeaurora.org>2016-05-11 21:41:55 +0300
commit1bfcfdcca142f6468c665016b2b58c3012196af0 (patch)
tree47c4220de0fa533068606ea13aedaffe10cb8c31 /drivers/net/wireless/realtek/rtlwifi/pci.c
parent6fe813e3d5618a1fdc77497f8d74938e975b63fa (diff)
downloadblackbird-op-linux-1bfcfdcca142f6468c665016b2b58c3012196af0.tar.gz
blackbird-op-linux-1bfcfdcca142f6468c665016b2b58c3012196af0.zip
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>
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/pci.c')
-rw-r--r--drivers/net/wireless/realtek/rtlwifi/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/pci.c b/drivers/net/wireless/realtek/rtlwifi/pci.c
index 1ac41b8bd19a..66030eac73fb 100644
--- a/drivers/net/wireless/realtek/rtlwifi/pci.c
+++ b/drivers/net/wireless/realtek/rtlwifi/pci.c
@@ -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,
OpenPOWER on IntegriCloud