]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: add const to bin_attribute structure
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 2 Aug 2017 17:57:14 +0000 (23:27 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 16:28:51 +0000 (09:28 -0700)
commit0a60d6c2a56de71e4f6f4c1953efeca6c326bbb9
tree5a03b8d6e00c94ab522721d45f295d1ebcd91d15
parent65ca753bc7ca37a197728011daf027c00dd2b357
qlcnic: add const to bin_attribute structure

Add const to bin_attribute structure as it is only passed to the
functions sysfs_{remove/create}_bin_file. The corresponding
arguments are of type const, so declare the structure to be const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c