git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
v850
/
kernel
/
memcons.c
diff --git
a/arch/v850/kernel/memcons.c
b/arch/v850/kernel/memcons.c
index
491614c
..
92f514f
100644
(file)
--- a/
arch/v850/kernel/memcons.c
+++ b/
arch/v850/kernel/memcons.c
@@
-30,7
+30,7
@@
static DEFINE_SPINLOCK(memcons_lock);
static size_t write (const char *buf, size_t len)
{
static size_t write (const char *buf, size_t len)
{
-
int
flags;
+
unsigned long
flags;
char *point;
spin_lock_irqsave (memcons_lock, flags);
char *point;
spin_lock_irqsave (memcons_lock, flags);
@@
-104,7
+104,7
@@
int memcons_tty_chars_in_buffer (struct tty_struct *tty)
return 0;
}
return 0;
}
-static struct tty_operations ops = {
+static
const
struct tty_operations ops = {
.open = memcons_tty_open,
.write = memcons_tty_write,
.write_room = memcons_tty_write_room,
.open = memcons_tty_open,
.write = memcons_tty_write,
.write_room = memcons_tty_write_room,