diff options
author | Ivan Vecera <ivecera@redhat.com> | 2015-06-17 18:41:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-21 19:29:01 +0200 |
commit | 558caad749d30eede0c28b90682ade3f53e43bcd (patch) | |
tree | 7d0a502c280ce604ca711243547b28199bd34a36 /drivers/net/ethernet/brocade/bna/bnad.h | |
parent | bna: remove unnecessary cast of BIT value (diff) | |
download | linux-558caad749d30eede0c28b90682ade3f53e43bcd.tar.xz linux-558caad749d30eede0c28b90682ade3f53e43bcd.zip |
bna: make pointers to read-only inputs const
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/brocade/bna/bnad.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/brocade/bna/bnad.h b/drivers/net/ethernet/brocade/bna/bnad.h index 91fd82d9e9bc..faedbf24777e 100644 --- a/drivers/net/ethernet/brocade/bna/bnad.h +++ b/drivers/net/ethernet/brocade/bna/bnad.h @@ -385,7 +385,7 @@ u32 *cna_get_firmware_buf(struct pci_dev *pdev); /* Netdev entry point prototypes */ void bnad_set_rx_mode(struct net_device *netdev); struct net_device_stats *bnad_get_netdev_stats(struct net_device *netdev); -int bnad_mac_addr_set_locked(struct bnad *bnad, u8 *mac_addr); +int bnad_mac_addr_set_locked(struct bnad *bnad, const u8 *mac_addr); int bnad_enable_default_bcast(struct bnad *bnad); void bnad_restore_vlans(struct bnad *bnad, u32 rx_id); void bnad_set_ethtool_ops(struct net_device *netdev); |