diff options
Diffstat (limited to 'class_wo.patch')
| -rw-r--r-- | class_wo.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/class_wo.patch b/class_wo.patch index 2806ecd1ac660b..5bf798fd3cf73c 100644 --- a/class_wo.patch +++ b/class_wo.patch @@ -1,3 +1,15 @@ +From foo@baz Tue Nov 22 18:29:57 CET 2016 +Date: Tue, 22 Nov 2016 18:29:57 +0100 +To: Greg KH <gregkh@linuxfoundation.org> +From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +Subject: [PATCH] driver core: add CLASS_ATTR_WO() + +Some class subsystems are open-coding CLASS_ATTR_WO because the driver +core never provided it. Add the macro to device.h so that we can go +around and fix up the individual subsystems as needed. + +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> + --- include/linux/device.h | 2 ++ 1 file changed, 2 insertions(+) |
