summaryrefslogtreecommitdiffstats
path: root/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-s3c2410-warnings-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-s3c2410-warnings-fix.patch')
-rw-r--r--meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-s3c2410-warnings-fix.patch98
1 files changed, 98 insertions, 0 deletions
diff --git a/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-s3c2410-warnings-fix.patch b/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-s3c2410-warnings-fix.patch
new file mode 100644
index 0000000000..8cc442a865
--- /dev/null
+++ b/meta/packages/uboot/u-boot-mkimage-openmoko-native/uboot-s3c2410-warnings-fix.patch
@@ -0,0 +1,98 @@
1Index: u-boot/include/s3c2410.h
2===================================================================
3--- u-boot.orig/include/s3c2410.h 2007-02-16 23:53:20.000000000 +0100
4+++ u-boot/include/s3c2410.h 2007-02-16 23:53:21.000000000 +0100
5@@ -69,75 +69,75 @@
6 #include <s3c24x0.h>
7
8
9-static inline S3C24X0_MEMCTL * const S3C24X0_GetBase_MEMCTL(void)
10+static inline S3C24X0_MEMCTL * S3C24X0_GetBase_MEMCTL(void)
11 {
12 return (S3C24X0_MEMCTL * const)S3C24X0_MEMCTL_BASE;
13 }
14-static inline S3C24X0_USB_HOST * const S3C24X0_GetBase_USB_HOST(void)
15+static inline S3C24X0_USB_HOST * S3C24X0_GetBase_USB_HOST(void)
16 {
17 return (S3C24X0_USB_HOST * const)S3C24X0_USB_HOST_BASE;
18 }
19-static inline S3C24X0_INTERRUPT * const S3C24X0_GetBase_INTERRUPT(void)
20+static inline S3C24X0_INTERRUPT * S3C24X0_GetBase_INTERRUPT(void)
21 {
22 return (S3C24X0_INTERRUPT * const)S3C24X0_INTERRUPT_BASE;
23 }
24-static inline S3C24X0_DMAS * const S3C24X0_GetBase_DMAS(void)
25+static inline S3C24X0_DMAS * S3C24X0_GetBase_DMAS(void)
26 {
27 return (S3C24X0_DMAS * const)S3C24X0_DMA_BASE;
28 }
29-static inline S3C24X0_CLOCK_POWER * const S3C24X0_GetBase_CLOCK_POWER(void)
30+static inline S3C24X0_CLOCK_POWER * S3C24X0_GetBase_CLOCK_POWER(void)
31 {
32 return (S3C24X0_CLOCK_POWER * const)S3C24X0_CLOCK_POWER_BASE;
33 }
34-static inline S3C24X0_LCD * const S3C24X0_GetBase_LCD(void)
35+static inline S3C24X0_LCD * S3C24X0_GetBase_LCD(void)
36 {
37 return (S3C24X0_LCD * const)S3C24X0_LCD_BASE;
38 }
39-static inline S3C2410_NAND * const S3C2410_GetBase_NAND(void)
40+static inline S3C2410_NAND * S3C2410_GetBase_NAND(void)
41 {
42 return (S3C2410_NAND * const)S3C2410_NAND_BASE;
43 }
44-static inline S3C24X0_UART * const S3C24X0_GetBase_UART(S3C24X0_UARTS_NR nr)
45+static inline S3C24X0_UART * S3C24X0_GetBase_UART(S3C24X0_UARTS_NR nr)
46 {
47 return (S3C24X0_UART * const)(S3C24X0_UART_BASE + (nr * 0x4000));
48 }
49-static inline S3C24X0_TIMERS * const S3C24X0_GetBase_TIMERS(void)
50+static inline S3C24X0_TIMERS * S3C24X0_GetBase_TIMERS(void)
51 {
52 return (S3C24X0_TIMERS * const)S3C24X0_TIMER_BASE;
53 }
54-static inline S3C24X0_USB_DEVICE * const S3C24X0_GetBase_USB_DEVICE(void)
55+static inline S3C24X0_USB_DEVICE * S3C24X0_GetBase_USB_DEVICE(void)
56 {
57 return (S3C24X0_USB_DEVICE * const)S3C24X0_USB_DEVICE_BASE;
58 }
59-static inline S3C24X0_WATCHDOG * const S3C24X0_GetBase_WATCHDOG(void)
60+static inline S3C24X0_WATCHDOG * S3C24X0_GetBase_WATCHDOG(void)
61 {
62 return (S3C24X0_WATCHDOG * const)S3C24X0_WATCHDOG_BASE;
63 }
64-static inline S3C24X0_I2C * const S3C24X0_GetBase_I2C(void)
65+static inline S3C24X0_I2C * S3C24X0_GetBase_I2C(void)
66 {
67 return (S3C24X0_I2C * const)S3C24X0_I2C_BASE;
68 }
69-static inline S3C24X0_I2S * const S3C24X0_GetBase_I2S(void)
70+static inline S3C24X0_I2S * S3C24X0_GetBase_I2S(void)
71 {
72 return (S3C24X0_I2S * const)S3C24X0_I2S_BASE;
73 }
74-static inline S3C24X0_GPIO * const S3C24X0_GetBase_GPIO(void)
75+static inline S3C24X0_GPIO * S3C24X0_GetBase_GPIO(void)
76 {
77 return (S3C24X0_GPIO * const)S3C24X0_GPIO_BASE;
78 }
79-static inline S3C24X0_RTC * const S3C24X0_GetBase_RTC(void)
80+static inline S3C24X0_RTC * S3C24X0_GetBase_RTC(void)
81 {
82 return (S3C24X0_RTC * const)S3C24X0_RTC_BASE;
83 }
84-static inline S3C2410_ADC * const S3C2410_GetBase_ADC(void)
85+static inline S3C2410_ADC * S3C2410_GetBase_ADC(void)
86 {
87 return (S3C2410_ADC * const)S3C2410_ADC_BASE;
88 }
89-static inline S3C24X0_SPI * const S3C24X0_GetBase_SPI(void)
90+static inline S3C24X0_SPI * S3C24X0_GetBase_SPI(void)
91 {
92 return (S3C24X0_SPI * const)S3C24X0_SPI_BASE;
93 }
94-static inline S3C2410_SDI * const S3C2410_GetBase_SDI(void)
95+static inline S3C2410_SDI * S3C2410_GetBase_SDI(void)
96 {
97 return (S3C2410_SDI * const)S3C2410_SDI_BASE;
98 }