rndis_wlan: Use static const
authorJoe Perches <joe@perches.com>
Sun, 21 Nov 2010 02:39:00 +0000 (18:39 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Nov 2010 20:58:52 +0000 (15:58 -0500)
commit22288a5847df30fb8ba298914f144c3b1d6e1fbe
tree67998c4b184f5bcf5f2dad385f65ba58ee001b41
parentff273b91ff04e6f232234b70c45101074a0daa27
rndis_wlan: Use static const

Using static const generally increases object text and decreases data size.
It also generally decreases overall object size.

   text    data     bss     dec     hex filename
  41757    2205    9896   53858    d262 drivers/net/wireless/rndis_wlan.o.old
  41653    2205    9880   53738    d1ea drivers/net/wireless/rndis_wlan.o.new

Changed functions rndis_set_oid and set_bssid to take const *'s.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rndis_wlan.c