aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/kernel/intc.c2
-rw-r--r--arch/microblaze/kernel/prom.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/microblaze/kernel/intc.c b/arch/microblaze/kernel/intc.c
index 7b4c6444bc16..7a1a8d4354fe 100644
--- a/arch/microblaze/kernel/intc.c
+++ b/arch/microblaze/kernel/intc.c
@@ -99,7 +99,7 @@ unsigned int get_irq(void)
99 return irq; 99 return irq;
100} 100}
101 101
102int xintc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) 102static int xintc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw)
103{ 103{
104 u32 intr_mask = (u32)d->host_data; 104 u32 intr_mask = (u32)d->host_data;
105 105
diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c
index 4a764ccb9f26..a744e3f18883 100644
--- a/arch/microblaze/kernel/prom.c
+++ b/arch/microblaze/kernel/prom.c
@@ -52,9 +52,9 @@ void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align)
52} 52}
53 53
54#ifdef CONFIG_EARLY_PRINTK 54#ifdef CONFIG_EARLY_PRINTK
55char *stdout; 55static char *stdout;
56 56
57int __init early_init_dt_scan_chosen_serial(unsigned long node, 57static int __init early_init_dt_scan_chosen_serial(unsigned long node,
58 const char *uname, int depth, void *data) 58 const char *uname, int depth, void *data)
59{ 59{
60 unsigned long l; 60 unsigned long l;