aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/btext.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/btext.h')
-rw-r--r--arch/powerpc/include/asm/btext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/btext.h b/arch/powerpc/include/asm/btext.h
index 3ffad030393c..461b0f193864 100644
--- a/arch/powerpc/include/asm/btext.h
+++ b/arch/powerpc/include/asm/btext.h
@@ -13,7 +13,11 @@ extern void btext_update_display(unsigned long phys, int width, int height,
int depth, int pitch);
extern void btext_setup_display(int width, int height, int depth, int pitch,
unsigned long address);
+#ifdef CONFIG_PPC32
extern void btext_prepare_BAT(void);
+#else
+static inline void btext_prepare_BAT(void) { }
+#endif
extern void btext_map(void);
extern void btext_unmap(void);