diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-17 15:25:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-17 15:25:25 +0100 |
commit | 466ad0dd09adc07997fef1af16d41bc8c60b6d63 (patch) | |
tree | 5fc48c6fe991186ef1132fe71fe47fb59483794d /qlcnic_sysfs.patch | |
parent | a331cebc0a1411faba1acf369a8c97255da7e11c (diff) | |
download | patches-466ad0dd09adc07997fef1af16d41bc8c60b6d63.tar.gz |
sync with 4.14-final
Diffstat (limited to 'qlcnic_sysfs.patch')
-rw-r--r-- | qlcnic_sysfs.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qlcnic_sysfs.patch b/qlcnic_sysfs.patch index 48714c4fe0fdc3..ba6b6a1403f4f9 100644 --- a/qlcnic_sysfs.patch +++ b/qlcnic_sysfs.patch @@ -95,19 +95,19 @@ return size; } --static struct device_attribute dev_attr_bridged_mode = { +-static const struct device_attribute dev_attr_bridged_mode = { - .attr = {.name = "bridged_mode", .mode = (S_IRUGO | S_IWUSR)}, - .show = qlcnic_show_bridged_mode, - .store = qlcnic_store_bridged_mode, -}; - --static struct device_attribute dev_attr_diag_mode = { +-static const struct device_attribute dev_attr_diag_mode = { - .attr = {.name = "diag_mode", .mode = (S_IRUGO | S_IWUSR)}, - .show = qlcnic_show_diag_mode, - .store = qlcnic_store_diag_mode, -}; - --static struct device_attribute dev_attr_beacon = { +-static const struct device_attribute dev_attr_beacon = { - .attr = {.name = "beacon", .mode = (S_IRUGO | S_IWUSR)}, - .show = qlcnic_show_beacon, - .store = qlcnic_store_beacon, |