aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/intelfb/intelfbdrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c
index e1ac4651adc7..e302d2b742ab 100644
--- a/drivers/video/intelfb/intelfbdrv.c
+++ b/drivers/video/intelfb/intelfbdrv.c
@@ -264,7 +264,7 @@ MODULE_PARM_DESC(mode,
264 264
265#ifndef MODULE 265#ifndef MODULE
266#define OPT_EQUAL(opt, name) (!strncmp(opt, name, strlen(name))) 266#define OPT_EQUAL(opt, name) (!strncmp(opt, name, strlen(name)))
267#define OPT_INTVAL(opt, name) simple_strtoul(opt + strlen(name), NULL, 0) 267#define OPT_INTVAL(opt, name) simple_strtoul(opt + strlen(name) + 1, NULL, 0)
268#define OPT_STRVAL(opt, name) (opt + strlen(name)) 268#define OPT_STRVAL(opt, name) (opt + strlen(name))
269 269
270static __inline__ char * 270static __inline__ char *