git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'bugzilla-11917' into release
[pandora-kernel.git]
/
drivers
/
serial
/
serial_lh7a40x.c
diff --git
a/drivers/serial/serial_lh7a40x.c
b/drivers/serial/serial_lh7a40x.c
index
cb49a5a
..
61dc8b3
100644
(file)
--- a/
drivers/serial/serial_lh7a40x.c
+++ b/
drivers/serial/serial_lh7a40x.c
@@
-460,7
+460,7
@@
static int lh7a40xuart_verify_port (struct uart_port* port,
if (ser->type != PORT_UNKNOWN && ser->type != PORT_LH7A40X)
ret = -EINVAL;
- if (ser->irq < 0 || ser->irq >=
NR_IRQS
)
+ if (ser->irq < 0 || ser->irq >=
nr_irqs
)
ret = -EINVAL;
if (ser->baud_base < 9600) /* *** FIXME: is this true? */
ret = -EINVAL;