X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=drivers%2Fvideo%2Fmodedb.c;h=3741ad729401c02226a60b8d7a0a20e9e3638579;hb=d96a2a5c6479342229416565944b56bc7a2b1a60;hp=5162eab955394150baa2ede448dfe17e0ddc37fa;hpb=dcfe2666ffd6316b764801db82092bc62db56e6f;p=linux-2.6-omap-h63xx.git diff --git a/drivers/video/modedb.c b/drivers/video/modedb.c index 5162eab9553..3741ad72940 100644 --- a/drivers/video/modedb.c +++ b/drivers/video/modedb.c @@ -13,7 +13,6 @@ #include #include -#include #undef DEBUG @@ -396,7 +395,7 @@ static int my_atoi(const char *name) for (;; name++) { switch (*name) { - case '0'...'9': + case '0' ... '9': val = 10*val+(*name-'0'); break; default: @@ -549,7 +548,7 @@ int fb_find_mode(struct fb_var_screeninfo *var, } else goto done; break; - case '0'...'9': + case '0' ... '9': break; case 'M': if (!yres_specified)