diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-30 15:37:22 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-30 15:37:22 +0100 |
| commit | 946cb48082b0bbff0bb96b3f816d0327bf409d79 (patch) | |
| tree | ddf24fb1cffad74877ccd6d4c3421cf8e6cc5bb8 /d07.patch | |
| parent | 3c37d678907cad7f656ff2d3f1d7d9781cf90b58 (diff) | |
| download | patches-946cb48082b0bbff0bb96b3f816d0327bf409d79.tar.gz | |
more patches updated
Diffstat (limited to 'd07.patch')
| -rw-r--r-- | d07.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/d07.patch b/d07.patch new file mode 100644 index 00000000000000..5778bbc0a0d0f6 --- /dev/null +++ b/d07.patch @@ -0,0 +1,23 @@ +--- + drivers/net/ethernet/ibm/ehea/ehea_main.c | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +--- a/drivers/net/ethernet/ibm/ehea/ehea_main.c ++++ b/drivers/net/ethernet/ibm/ehea/ehea_main.c +@@ -3560,14 +3560,12 @@ static int check_module_parm(void) + return ret; + } + +-static ssize_t ehea_show_capabilities(struct device_driver *drv, +- char *buf) ++static ssize_t capabilities_show(struct device_driver *drv, char *buf) + { + return sprintf(buf, "%d", EHEA_CAPABILITIES); + } + +-static DRIVER_ATTR(capabilities, S_IRUSR | S_IRGRP | S_IROTH, +- ehea_show_capabilities, NULL); ++static DRIVER_ATTR_RO(capabilities); + + static int __init ehea_module_init(void) + { |
