File tree 4 files changed +8
-7
lines changed
4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 8
8
#include <linux/err.h>
9
9
#include <linux/init.h>
10
10
#include <linux/of_platform.h>
11
+ #include <linux/platform_device.h>
11
12
#include <linux/kthread.h>
12
13
#include <linux/leds.h>
13
14
#include <linux/i2c.h>
Original file line number Diff line number Diff line change 25
25
26
26
extern void __flush_disable_L1 (void );
27
27
28
- void amigaone_show_cpuinfo (struct seq_file * m )
28
+ static void amigaone_show_cpuinfo (struct seq_file * m )
29
29
{
30
30
seq_printf (m , "vendor\t\t: Eyetech Ltd.\n" );
31
31
}
@@ -65,7 +65,7 @@ static int __init amigaone_add_bridge(struct device_node *dev)
65
65
return 0 ;
66
66
}
67
67
68
- void __init amigaone_setup_arch (void )
68
+ static void __init amigaone_setup_arch (void )
69
69
{
70
70
if (ppc_md .progress )
71
71
ppc_md .progress ("Linux/PPC " UTS_RELEASE "\n" , 0 );
@@ -83,7 +83,7 @@ static void __init amigaone_discover_phbs(void)
83
83
BUG_ON (phb != 0 );
84
84
}
85
85
86
- void __init amigaone_init_IRQ (void )
86
+ static void __init amigaone_init_IRQ (void )
87
87
{
88
88
struct device_node * pic , * np = NULL ;
89
89
const unsigned long * prop = NULL ;
@@ -123,7 +123,7 @@ static int __init request_isa_regions(void)
123
123
}
124
124
machine_device_initcall (amigaone , request_isa_regions );
125
125
126
- void __noreturn amigaone_restart (char * cmd )
126
+ static void __noreturn amigaone_restart (char * cmd )
127
127
{
128
128
local_irq_disable ();
129
129
Original file line number Diff line number Diff line change @@ -99,9 +99,6 @@ static void __init linkstation_init_IRQ(void)
99
99
mpic_init (mpic );
100
100
}
101
101
102
- extern void avr_uart_configure (void );
103
- extern void avr_uart_send (const char );
104
-
105
102
static void __noreturn linkstation_restart (char * cmd )
106
103
{
107
104
local_irq_disable ();
Original file line number Diff line number Diff line change @@ -156,4 +156,7 @@ int mpc10x_disable_store_gathering(struct pci_controller *hose);
156
156
/* For MPC107 boards that use the built-in openpic */
157
157
void mpc10x_set_openpic (void );
158
158
159
+ void avr_uart_configure (void );
160
+ void avr_uart_send (const char c );
161
+
159
162
#endif /* __PPC_KERNEL_MPC10X_H */
You can’t perform that action at this time.
0 commit comments