Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8794
b: refs/heads/master
c: 82006d0
h: refs/heads/master
v: v3
  • Loading branch information
Tobias Klauser authored and Linus Torvalds committed Sep 13, 2005
1 parent 3bbf0e4 commit e3b864b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f673d83ca3b7a6aeaacfd45d6ce466c33df8039
refs/heads/master: 82006d084109bb4118f1de0dc5855abe5ccae430
3 changes: 2 additions & 1 deletion trunk/drivers/video/pm3fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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);
}
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/video/pm3fb.h
Original file line number Diff line number Diff line change
Expand Up @@ -1142,9 +1142,6 @@
/* do we want accelerated console */
#define PM3FB_USE_ACCEL 1

/* useful ? */
#define CHAR_IS_NUM(a) ((((a) >= '0') && ((a) <= '9')) ? 1 : 0)

/* for driver debugging ONLY */
/* 0 = assert only, 1 = error, 2 = info, 3+ = verbose */
/* define PM3FB_MASTER_DEBUG 1 */
Expand Down

0 comments on commit e3b864b

Please sign in to comment.