]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: rtl8192u: make r8192_wx_handlers_def structure const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 30 Sep 2017 16:26:35 +0000 (21:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Oct 2017 16:34:57 +0000 (18:34 +0200)
commit4af8dd1e31ec4df5d738d2a51c9df338f1a64bda
tree45a8c35ad2c388d2eafdd1c63b824f52601de068
parent60db8d10ee3339840d88e57605276bb568af6031
staging: rtl8192u: make r8192_wx_handlers_def structure const

Make this const as it is only stored in a const field of a pci_dev
structure. Make the declaration in the header const too.

Structure found using Coccinelle and changes done by hand.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_wx.c
drivers/staging/rtl8192u/r8192U_wx.h