diff options
-rw-r--r-- | drivers/video/s3fb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/s3fb.c b/drivers/video/s3fb.c index 3162c37b1447..98919a6975f0 100644 --- a/drivers/video/s3fb.c +++ b/drivers/video/s3fb.c | |||
@@ -1134,11 +1134,11 @@ static int __init s3fb_setup(char *options) | |||
1134 | if (!*opt) | 1134 | if (!*opt) |
1135 | continue; | 1135 | continue; |
1136 | #ifdef CONFIG_MTRR | 1136 | #ifdef CONFIG_MTRR |
1137 | else if (!strcmp(opt, "mtrr:")) | 1137 | else if (!strncmp(opt, "mtrr:", 5)) |
1138 | mtrr = simple_strtoul(opt + 5, NULL, 0); | 1138 | mtrr = simple_strtoul(opt + 5, NULL, 0); |
1139 | #endif | 1139 | #endif |
1140 | else if (!strcmp(opt, "fasttext:")) | 1140 | else if (!strncmp(opt, "fasttext:", 9)) |
1141 | mtrr = simple_strtoul(opt + 9, NULL, 0); | 1141 | fasttext = simple_strtoul(opt + 9, NULL, 0); |
1142 | else | 1142 | else |
1143 | mode = opt; | 1143 | mode = opt; |
1144 | } | 1144 | } |