summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorVladimir Murzin <vladimir.murzin@arm.com>2016-08-15 11:10:30 +0100
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-09-07 12:05:49 +0300
commitcf957ccc76eeffee9f06d2f8f7c9260015076e92 (patch)
treef3f784d2c53ad9a6671528590f2d914889cf66e3 /drivers/video
parentb6a694b7209121ed8c416d1f9ab92780c4cc7a10 (diff)
downloadlinux-stable-cf957ccc76eeffee9f06d2f8f7c9260015076e92.tar.gz
linux-stable-cf957ccc76eeffee9f06d2f8f7c9260015076e92.tar.bz2
linux-stable-cf957ccc76eeffee9f06d2f8f7c9260015076e92.zip
fbdev: vfb: add description to module parameters
Add description to "videomemorysize" and "vfb_enable" module parameters to make them a bit friendly to the end user. Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/vfb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/vfb.c b/drivers/video/fbdev/vfb.c
index b9c2f81fb6b9..e9ecae292ba8 100644
--- a/drivers/video/fbdev/vfb.c
+++ b/drivers/video/fbdev/vfb.c
@@ -35,6 +35,7 @@
static void *videomemory;
static u_long videomemorysize = VIDEOMEMSIZE;
module_param(videomemorysize, ulong, 0);
+MODULE_PARM_DESC(videomemorysize, "RAM available to frame buffer (in bytes)");
/**********************************************************************
*
@@ -119,6 +120,7 @@ static struct fb_fix_screeninfo vfb_fix = {
static bool vfb_enable __initdata = 0; /* disabled by default */
module_param(vfb_enable, bool, 0);
+MODULE_PARM_DESC(vfb_enable, "Enable Virtual FB driver");
static int vfb_check_var(struct fb_var_screeninfo *var,
struct fb_info *info);