From e36a73a2d19aa75e7d046439757875659d2fe9aa Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Fri, 13 Feb 2004 13:52:47 +1100 Subject: [PATCH] ppc64: Don't build offb's code that relies on the BootX bootloader on ppc64 --- drivers/video/offb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/offb.c b/drivers/video/offb.c index 5c1af5f6cc6f4..e1715ef972b82 100644 --- a/drivers/video/offb.c +++ b/drivers/video/offb.c @@ -247,7 +247,7 @@ int __init offb_init(void) { struct device_node *dp; unsigned int dpy; -#ifdef CONFIG_BOOTX_TEXT +#if defined(CONFIG_BOOTX_TEXT) && defined(CONFIG_PPC32) struct device_node *displays = find_type_devices("display"); struct device_node *macos_display = NULL; @@ -323,7 +323,7 @@ int __init offb_init(void) boot_infos->dispDeviceDepth, boot_infos->dispDeviceRowBytes, addr, NULL); } -#endif +#endif /* defined(CONFIG_BOOTX_TEXT) && defined(CONFIG_PPC32) */ for (dpy = 0; dpy < prom_num_displays; dpy++) { if ((dp = find_path_device(prom_display_paths[dpy]))) -- 2.53.0