]> err.no Git - linux-2.6/commitdiff
[POWERPC] bootwrapper: Declare udelay() in ops.h
authorScott Wood <scottwood@freescale.com>
Mon, 20 Aug 2007 17:39:55 +0000 (03:39 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Aug 2007 05:21:49 +0000 (15:21 +1000)
Declarations in various users are removed.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/mpsc.c
arch/powerpc/boot/mv64x60_i2c.c
arch/powerpc/boot/ops.h
arch/powerpc/boot/prpmc2800.c
arch/powerpc/boot/serial.c

index f1c0e965e5ceb74acdb850c2a8b8c67aab0a66d5..802ea53790d8ca7ec4373761fcc8440b17e204f4 100644 (file)
@@ -17,7 +17,6 @@
 #include "io.h"
 #include "ops.h"
 
-extern void udelay(long delay);
 
 #define MPSC_CHR_1             0x000c
 
index 435fe85286801c7a6cb2037d66566316cb154b72..d085377be3bc86ae41de8d6ed4b88d42697004ab 100644 (file)
@@ -21,8 +21,6 @@
 #include "ops.h"
 #include "mv64x60.h"
 
-extern void udelay(long);
-
 /* Register defines */
 #define MV64x60_I2C_REG_SLAVE_ADDR                     0x00
 #define MV64x60_I2C_REG_DATA                           0x04
index a10bf5a153d5f2f726442e360ace6796b4ad3824..e45b364e7fcf0998cbf64540bb5e063511b74283 100644 (file)
@@ -193,5 +193,6 @@ static inline void exit(void)
        void *_platform_stack_top = _bss_stack + sizeof(_bss_stack);
 
 extern unsigned long timebase_period_ns;
+void udelay(long delay);
 
 #endif /* _PPC_BOOT_OPS_H_ */
index f428bac10d4a6cf4c820de81b63de9393ef182f3..5c6cd368056e8daa4594e28d1f05c346d078a01c 100644 (file)
@@ -25,8 +25,6 @@ extern char _end[];
 extern char _vmlinux_start[], _vmlinux_end[];
 extern char _dtb_start[], _dtb_end[];
 
-extern void udelay(long delay);
-
 #define KB     1024U
 #define MB     (KB*KB)
 #define GB     (KB*MB)
index 3ce7f651ab34bc5a43e35a9dcd66b5c2ddd92c21..944f0ee5bc0f14c341779ca926156bfbd850f0a1 100644 (file)
@@ -19,8 +19,6 @@
 #include "io.h"
 #include "ops.h"
 
-extern void udelay(long delay);
-
 static int serial_open(void)
 {
        struct serial_console_data *scdp = console_ops.data;