diff options
author | Ben Dooks <ben-linux@fluff.org> | 2006-12-17 17:22:26 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-12-17 18:38:01 -0500 |
commit | b6d1f542e3f44f8988b601e3ca6277c143282179 (patch) | |
tree | b9458910875f6310611fadcbf91828786d2f46ed /arch/arm/mach-s3c2410/mach-n30.c | |
parent | 9162b7dbf5652a4ae99980235cd8992223258408 (diff) |
[ARM] 4049/1: S3C24XX: fix sparse warning due to upf_t in regs-serial.h
Change the include/asm-arm/arch-s3c2410/regs-serial.h
platform data to use the prorper type (upf_t) for the
uart_flags.
Fix all the other parts of arch/arm/mach-s3c2410 to
include <linux/serial_core.h> and all other uses of
the include file.
mach-rx3715.c:101:18: warning: incorrect type in initializer (different base types)
mach-rx3715.c:101:18: expected unsigned long [unsigned] uart_flags
mach-rx3715.c:101:18: got restricted unsigned int [usertype] [force] <noident>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-n30.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-n30.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.c index 116ac3169966..0411e9adb54d 100644 --- a/arch/arm/mach-s3c2410/mach-n30.c +++ b/arch/arm/mach-s3c2410/mach-n30.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/timer.h> | 20 | #include <linux/timer.h> |
21 | #include <linux/init.h> | 21 | #include <linux/init.h> |
22 | #include <linux/delay.h> | 22 | #include <linux/delay.h> |
23 | #include <linux/serial_core.h> | ||
23 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
24 | #include <linux/kthread.h> | 25 | #include <linux/kthread.h> |
25 | 26 | ||
@@ -37,8 +38,6 @@ | |||
37 | #include <asm/arch/regs-gpio.h> | 38 | #include <asm/arch/regs-gpio.h> |
38 | #include <asm/arch/iic.h> | 39 | #include <asm/arch/iic.h> |
39 | 40 | ||
40 | #include <linux/serial_core.h> | ||
41 | |||
42 | #include "s3c2410.h" | 41 | #include "s3c2410.h" |
43 | #include "clock.h" | 42 | #include "clock.h" |
44 | #include "devs.h" | 43 | #include "devs.h" |