aboutsummaryrefslogtreecommitdiffstats
path: root/d13.patch
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-30 15:37:22 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-30 15:37:22 +0100
commit946cb48082b0bbff0bb96b3f816d0327bf409d79 (patch)
treeddf24fb1cffad74877ccd6d4c3421cf8e6cc5bb8 /d13.patch
parent3c37d678907cad7f656ff2d3f1d7d9781cf90b58 (diff)
downloadpatches-946cb48082b0bbff0bb96b3f816d0327bf409d79.tar.gz
more patches updated
Diffstat (limited to 'd13.patch')
-rw-r--r--d13.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/d13.patch b/d13.patch
new file mode 100644
index 00000000000000..aec58db47c1152
--- /dev/null
+++ b/d13.patch
@@ -0,0 +1,29 @@
+---
+ drivers/video/fbdev/uvesafb.c | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+--- a/drivers/video/fbdev/uvesafb.c
++++ b/drivers/video/fbdev/uvesafb.c
+@@ -1883,19 +1883,18 @@ static int uvesafb_setup(char *options)
+ }
+ #endif /* !MODULE */
+
+-static ssize_t show_v86d(struct device_driver *dev, char *buf)
++static ssize_t v86d_show(struct device_driver *dev, char *buf)
+ {
+ return snprintf(buf, PAGE_SIZE, "%s\n", v86d_path);
+ }
+
+-static ssize_t store_v86d(struct device_driver *dev, const char *buf,
++static ssize_t v86d_store(struct device_driver *dev, const char *buf,
+ size_t count)
+ {
+ strncpy(v86d_path, buf, PATH_MAX);
+ return count;
+ }
+-
+-static DRIVER_ATTR(v86d, S_IRUGO | S_IWUSR, show_v86d, store_v86d);
++static DRIVER_ATTR_RW(v86d);
+
+ static int uvesafb_init(void)
+ {