]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/video/fbmem.c
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
[karo-tx-linux.git] / drivers / video / fbmem.c
index e296967a3abb69880e8afa97e31dc55a08a599ad..7309ac704e2641e410fe75f60278e273348573e3 100644 (file)
@@ -1941,6 +1941,9 @@ int fb_get_options(const char *name, char **option)
                                options = opt + name_len + 1;
                }
        }
+       /* No match, pass global option */
+       if (!options && option && fb_mode_option)
+               options = kstrdup(fb_mode_option, GFP_KERNEL);
        if (options && !strncmp(options, "off", 3))
                retval = 1;