summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-11-14 17:22:07 +0100
committerKalle Valo <kvalo@codeaurora.org>2015-11-26 14:54:40 +0200
commit6866a64a0f9bba5145891ec0fe5cd52c73efd4e9 (patch)
treeb08af4cba8c4293a7b254011c8244e41f690633d /drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
parent3a318426e09a9c9266fe6440842e11238f640a20 (diff)
downloadlinux-6866a64a0f9bba5145891ec0fe5cd52c73efd4e9.tar.gz
linux-6866a64a0f9bba5145891ec0fe5cd52c73efd4e9.tar.bz2
linux-6866a64a0f9bba5145891ec0fe5cd52c73efd4e9.zip
brcmfmac: constify brcmf_bus_ops structures
The brcmf_bus_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> Acked-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c')
-rw-r--r--drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
index e08bc6441e62..bbf414494ca9 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
@@ -1413,7 +1413,7 @@ static int brcmf_pcie_get_memdump(struct device *dev, void *data, size_t len)
}
-static struct brcmf_bus_ops brcmf_pcie_bus_ops = {
+static const struct brcmf_bus_ops brcmf_pcie_bus_ops = {
.txdata = brcmf_pcie_tx,
.stop = brcmf_pcie_down,
.txctl = brcmf_pcie_tx_ctlpkt,