ppc32: Fix use of uninitialized pointer in offb
PATCH 1/1 ppc32: Fix use of uninitialized pointer in offb
Hi !
The recent ppc64 changes for offb introduced an uninitialized pointer use for ppc32, here's the fix:
Signed-off-by Benjamin Herrenschmidt <[email protected]>
===== drivers/video/offb.c 1.32 vs edited =====
drivers/video/offb.c +1 -1
@@ -246,7 +246,7 @@int __init offb_init (void ) { -struct device_node *dp, *boot_disp =NULL ; +struct device_node *dp =NULL , *boot_disp =NULL ;#if defined(CONFIG_BOOTX_TEXT ) && defined(CONFIG_PPC32 )struct device_node *macos_display =NULL ;#endif