diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-11-14 17:22:07 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-11-26 13:54:40 +0100 |
commit | 6866a64a0f9bba5145891ec0fe5cd52c73efd4e9 (patch) | |
tree | b08af4cba8c4293a7b254011c8244e41f690633d /drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | |
parent | ath9k_htc: check for underflow in ath9k_htc_rx_msg() (diff) | |
download | linux-6866a64a0f9bba5145891ec0fe5cd52c73efd4e9.tar.xz 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/sdio.c')
-rw-r--r-- | drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c index 7e74ac3ad815..01f359efe27e 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c @@ -4025,7 +4025,7 @@ brcmf_sdio_watchdog(unsigned long data) } } -static struct brcmf_bus_ops brcmf_sdio_bus_ops = { +static const struct brcmf_bus_ops brcmf_sdio_bus_ops = { .stop = brcmf_sdio_bus_stop, .preinit = brcmf_sdio_bus_preinit, .txdata = brcmf_sdio_bus_txdata, |