On Tue, Jul 14, 2020 at 03:52:48PM +0800, Clark Wang wrote: > Add a NULL check for device node and lpspi_platform_info when lpspi > device probe. This has build problems, I guess there's been a context change that's caused issues along with causing the later patches to not apply: /mnt/kernel/drivers/spi/spi-fsl-lpspi.c: In function 'fsl_lpspi_probe': /mnt/kernel/drivers/spi/spi-fsl-lpspi.c:824:7: error: 'np' undeclared (first use in this function); did you mean 'up'? if (!np && !lpspi_platform_info) { ^~ up /mnt/kernel/drivers/spi/spi-fsl-lpspi.c:824:7: note: each undeclared identifier is reported only once for each function it appears in /mnt/kernel/drivers/spi/spi-fsl-lpspi.c:824:14: error: 'lpspi_platform_info' undeclared (first use in this function); did you mean 'spi_board_info'? if (!np && !lpspi_platform_info) { ^~~~~~~~~~~~~~~~~~~ spi_board_info
Attachment:
signature.asc
Description: PGP signature