aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/sysdev/qe_lib/qe.c2
-rw-r--r--include/asm-powerpc/qe.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/qe_lib/qe.c b/arch/powerpc/sysdev/qe_lib/qe.c
index 28e05df952de..9e82d7e725a5 100644
--- a/arch/powerpc/sysdev/qe_lib/qe.c
+++ b/arch/powerpc/sysdev/qe_lib/qe.c
@@ -87,7 +87,7 @@ phys_addr_t get_qe_base(void)
87 87
88EXPORT_SYMBOL(get_qe_base); 88EXPORT_SYMBOL(get_qe_base);
89 89
90void qe_reset(void) 90void __init qe_reset(void)
91{ 91{
92 if (qe_immr == NULL) 92 if (qe_immr == NULL)
93 qe_immr = ioremap(get_qe_base(), QE_IMMAP_SIZE); 93 qe_immr = ioremap(get_qe_base(), QE_IMMAP_SIZE);
diff --git a/include/asm-powerpc/qe.h b/include/asm-powerpc/qe.h
index 80807fd6a706..1355e7267013 100644
--- a/include/asm-powerpc/qe.h
+++ b/include/asm-powerpc/qe.h
@@ -84,7 +84,7 @@ static inline bool qe_clock_is_brg(enum qe_clock clk)
84extern spinlock_t cmxgcr_lock; 84extern spinlock_t cmxgcr_lock;
85 85
86/* Export QE common operations */ 86/* Export QE common operations */
87extern void qe_reset(void); 87extern void __init qe_reset(void);
88 88
89/* QE PIO */ 89/* QE PIO */
90#define QE_PIO_PINS 32 90#define QE_PIO_PINS 32