diff options
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/sysrq.c | 2 | ||||
-rw-r--r-- | drivers/tty/tty_io.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c index 43db715f150..7867b7c4538 100644 --- a/drivers/tty/sysrq.c +++ b/drivers/tty/sysrq.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <linux/module.h> | 32 | #include <linux/module.h> |
33 | #include <linux/suspend.h> | 33 | #include <linux/suspend.h> |
34 | #include <linux/writeback.h> | 34 | #include <linux/writeback.h> |
35 | #include <linux/buffer_head.h> /* for fsync_bdev() */ | ||
36 | #include <linux/swap.h> | 35 | #include <linux/swap.h> |
37 | #include <linux/spinlock.h> | 36 | #include <linux/spinlock.h> |
38 | #include <linux/vt_kern.h> | 37 | #include <linux/vt_kern.h> |
@@ -41,6 +40,7 @@ | |||
41 | #include <linux/oom.h> | 40 | #include <linux/oom.h> |
42 | #include <linux/slab.h> | 41 | #include <linux/slab.h> |
43 | #include <linux/input.h> | 42 | #include <linux/input.h> |
43 | #include <linux/uaccess.h> | ||
44 | 44 | ||
45 | #include <asm/ptrace.h> | 45 | #include <asm/ptrace.h> |
46 | #include <asm/irq_regs.h> | 46 | #include <asm/irq_regs.h> |
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 05085beb83d..3fdebd306b9 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c | |||
@@ -3267,7 +3267,7 @@ void __init console_init(void) | |||
3267 | } | 3267 | } |
3268 | } | 3268 | } |
3269 | 3269 | ||
3270 | static char *tty_devnode(struct device *dev, mode_t *mode) | 3270 | static char *tty_devnode(struct device *dev, umode_t *mode) |
3271 | { | 3271 | { |
3272 | if (!mode) | 3272 | if (!mode) |
3273 | return NULL; | 3273 | return NULL; |