From: Michael Ellerman <mpe@ellerman.id.au> Date: 2020-08-21 10:49:21
The build is currently broken, if COMPILE_TEST=y and PPC_PMAC=n:
linux/drivers/video/fbdev/controlfb.c: In function ‘control_set_hardware’:
linux/drivers/video/fbdev/controlfb.c:276:2: error: implicit declaration of function ‘btext_update_display’
276 | btext_update_display(p->frame_buffer_phys + CTRLFB_OFF,
| ^~~~~~~~~~~~~~~~~~~~
Fix it by including btext.h whenever CONFIG_BOOTX_TEXT is enabled.
Fixes: a07a63b0e24d ("video: fbdev: controlfb: add COMPILE_TEST support")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
drivers/video/fbdev/controlfb.c | 2 ++
1 file changed, 2 insertions(+)
Does anyone mind if I apply this via the powerpc tree for v5.9?
It would be nice to get the build clean.
cheers
The build is currently broken, if COMPILE_TEST=y and PPC_PMAC=n:
linux/drivers/video/fbdev/controlfb.c: In function ‘control_set_hardware’:
linux/drivers/video/fbdev/controlfb.c:276:2: error: implicit declaration of function ‘btext_update_display’
276 | btext_update_display(p->frame_buffer_phys + CTRLFB_OFF,
| ^~~~~~~~~~~~~~~~~~~~
Fix it by including btext.h whenever CONFIG_BOOTX_TEXT is enabled.
Fixes: a07a63b0e24d ("video: fbdev: controlfb: add COMPILE_TEST support")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Bartlomiej Zolnierkiewicz <redacted>
Thanks for fixing this.
---
drivers/video/fbdev/controlfb.c | 2 ++
1 file changed, 2 insertions(+)
Does anyone mind if I apply this via the powerpc tree for v5.9?
It would be nice to get the build clean.
No objections from my side.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
From: Michael Ellerman <hidden> Date: 2020-08-27 07:46:57
On Fri, 21 Aug 2020 20:49:10 +1000, Michael Ellerman wrote:
The build is currently broken, if COMPILE_TEST=y and PPC_PMAC=n:
linux/drivers/video/fbdev/controlfb.c: In function ���control_set_hardware���:
linux/drivers/video/fbdev/controlfb.c:276:2: error: implicit declaration of function ���btext_update_display���
276 | btext_update_display(p->frame_buffer_phys + CTRLFB_OFF,
| ^~~~~~~~~~~~~~~~~~~~
[...]