diff options
| -rw-r--r-- | drivers/sbus/char/bbc_envctrl.c | 3 | ||||
| -rw-r--r-- | drivers/sbus/char/envctrl.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/sbus/char/bbc_envctrl.c b/drivers/sbus/char/bbc_envctrl.c index d5259f7fee6d..b8a2c7353b0a 100644 --- a/drivers/sbus/char/bbc_envctrl.c +++ b/drivers/sbus/char/bbc_envctrl.c | |||
| @@ -4,13 +4,14 @@ | |||
| 4 | * Copyright (C) 2001 David S. Miller (davem@redhat.com) | 4 | * Copyright (C) 2001 David S. Miller (davem@redhat.com) |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #define __KERNEL_SYSCALLS__ | ||
| 8 | |||
| 7 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
| 8 | #include <linux/sched.h> | 10 | #include <linux/sched.h> |
| 9 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
| 10 | #include <linux/delay.h> | 12 | #include <linux/delay.h> |
| 11 | #include <asm/oplib.h> | 13 | #include <asm/oplib.h> |
| 12 | #include <asm/ebus.h> | 14 | #include <asm/ebus.h> |
| 13 | #define __KERNEL_SYSCALLS__ | ||
| 14 | static int errno; | 15 | static int errno; |
| 15 | #include <asm/unistd.h> | 16 | #include <asm/unistd.h> |
| 16 | 17 | ||
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c index 0c7cd7e7e2e5..9a8c572554f5 100644 --- a/drivers/sbus/char/envctrl.c +++ b/drivers/sbus/char/envctrl.c | |||
| @@ -19,6 +19,8 @@ | |||
| 19 | * Daniele Bellucci <bellucda@tiscali.it> | 19 | * Daniele Bellucci <bellucda@tiscali.it> |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #define __KERNEL_SYSCALLS__ | ||
| 23 | |||
| 22 | #include <linux/config.h> | 24 | #include <linux/config.h> |
| 23 | #include <linux/module.h> | 25 | #include <linux/module.h> |
| 24 | #include <linux/sched.h> | 26 | #include <linux/sched.h> |
| @@ -35,7 +37,6 @@ | |||
| 35 | #include <asm/uaccess.h> | 37 | #include <asm/uaccess.h> |
| 36 | #include <asm/envctrl.h> | 38 | #include <asm/envctrl.h> |
| 37 | 39 | ||
| 38 | #define __KERNEL_SYSCALLS__ | ||
| 39 | static int errno; | 40 | static int errno; |
| 40 | #include <asm/unistd.h> | 41 | #include <asm/unistd.h> |
| 41 | 42 | ||
