]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/pm3fb.c
[PATCH] drivers/video: Replace custom macro with isdigit()
[linux-2.6-omap-h63xx.git] / drivers / video / pm3fb.c
index e0dad948467b32cc921f742f5abbefb5d28b4674..2e11b601c488cb63f4e0d815f258d03cda74bf12 100644 (file)
@@ -67,6 +67,7 @@
 #include <linux/init.h>
 #include <linux/pci.h>
 #include <linux/ioport.h>
+#include <linux/ctype.h>
 
 #include <video/fbcon.h>
 #include <video/fbcon-mfb.h>
@@ -2594,7 +2595,7 @@ static char *pm3fb_boardnum_setup(char *options, unsigned long *bn)
 {
        char *next;
 
-       if (!(CHAR_IS_NUM(options[0]))) {
+       if (!(isdigit(options[0]))) {
                (*bn) = 0;
                return (options);
        }