aboutsummaryrefslogtreecommitdiffstats
path: root/d07.patch
diff options
Diffstat (limited to 'd07.patch')
-rw-r--r--d07.patch23
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)
+ {