summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/wm8505fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/wm8505fb.c')
-rw-r--r--drivers/video/fbdev/wm8505fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/wm8505fb.c b/drivers/video/fbdev/wm8505fb.c
index e925619da39b..253ffe9baab2 100644
--- a/drivers/video/fbdev/wm8505fb.c
+++ b/drivers/video/fbdev/wm8505fb.c
@@ -182,7 +182,7 @@ static ssize_t contrast_store(struct device *dev,
return count;
}
-static DEVICE_ATTR(contrast, 0644, contrast_show, contrast_store);
+static DEVICE_ATTR_RW(contrast);
static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf)
{