summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/brocade/bna/bfa_ioc.h
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-09-16 11:09:51 +0000
committerDavid S. Miller <davem@davemloft.net>2011-09-16 19:20:20 -0400
commitd91d25d537af07ba71ed9751d5319daa8eee5066 (patch)
tree98e74416319a55d84de9c3401c63b7809926e18d /drivers/net/ethernet/brocade/bna/bfa_ioc.h
parent1d70cb06db4f8105997672378ae248f44c3a4379 (diff)
downloadlwn-d91d25d537af07ba71ed9751d5319daa8eee5066.tar.gz
lwn-d91d25d537af07ba71ed9751d5319daa8eee5066.zip
bna: make function tables cont
To prevent malicious usage, all tables of pointers must be const. Compile tested only. Gleaned for PAX. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/brocade/bna/bfa_ioc.h')
-rw-r--r--drivers/net/ethernet/brocade/bna/bfa_ioc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/brocade/bna/bfa_ioc.h b/drivers/net/ethernet/brocade/bna/bfa_ioc.h
index 9116324865cc..e11496db7ac6 100644
--- a/drivers/net/ethernet/brocade/bna/bfa_ioc.h
+++ b/drivers/net/ethernet/brocade/bna/bfa_ioc.h
@@ -199,7 +199,7 @@ struct bfa_ioc {
struct bfi_ioc_attr *attr;
struct bfa_ioc_cbfn *cbfn;
struct bfa_ioc_mbox_mod mbox_mod;
- struct bfa_ioc_hwif *ioc_hwif;
+ const struct bfa_ioc_hwif *ioc_hwif;
struct bfa_iocpf iocpf;
enum bfi_asic_gen asic_gen;
enum bfi_asic_mode asic_mode;