staging: agnx, fix bssid compiler warnings
commit5e436d09cec1eae3b3c17580c682cf1a42e595f8
authorJiri Slaby <jirislaby@gmail.com>
Thu, 26 Mar 2009 08:34:10 +0000 (26 09:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:35 +0000 (19 11:00 -0700)
tree465f31bb288bd82244163ed0d8fa4712f73ed83b
parent8af6caf5d37aaa56911c15f9a7386fe93ff01f7e
staging: agnx, fix bssid compiler warnings

conf->bssid is const. Propagate const to not get compiler warnings:
agnx/pci.c: In function ‘agnx_config_interface’:
agnx/pci.c:319: warning: passing argument 2 of ‘agnx_set_bssid’ discards qualifiers from pointer target type
agnx/pci.c:321: warning: passing argument 2 of ‘hash_write’ discards qualifiers from pointer target type

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/agnx/phy.c
drivers/staging/agnx/phy.h
drivers/staging/agnx/sta.c
drivers/staging/agnx/sta.h