diff options
Diffstat (limited to 'drivers/video/omap2/omapfb')
-rw-r--r-- | drivers/video/omap2/omapfb/omapfb-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c index b00db4068d21..7f02e7f90d63 100644 --- a/drivers/video/omap2/omapfb/omapfb-main.c +++ b/drivers/video/omap2/omapfb/omapfb-main.c | |||
@@ -1502,7 +1502,7 @@ static int omapfb_parse_vram_param(const char *param, int max_entries, | |||
1502 | 1502 | ||
1503 | fbnum = simple_strtoul(p, &p, 10); | 1503 | fbnum = simple_strtoul(p, &p, 10); |
1504 | 1504 | ||
1505 | if (p == param) | 1505 | if (p == start) |
1506 | return -EINVAL; | 1506 | return -EINVAL; |
1507 | 1507 | ||
1508 | if (*p != ':') | 1508 | if (*p != ':') |