]> git.itanic.dy.fi Git - linux-stable/commit
spi: spi-ppc4xx: include missing platform_device.h
authorChristian Lamparter <chunkeey@gmail.com>
Fri, 9 Feb 2024 14:59:07 +0000 (15:59 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 9 Feb 2024 15:23:48 +0000 (15:23 +0000)
commit9f208e097801f9c2088eb339a1162fff81c08b4e
tree2489f5b99b1a6a18dead856e5f6db11eeb8b46b7
parentc712c05e46c8ce550842951e9e2606e24dbf0475
spi: spi-ppc4xx: include missing platform_device.h

the driver currently fails to compile on 6.8-rc3 due to:
| spi-ppc4xx.c: In function ‘spi_ppc4xx_of_probe’:
| @346:36: error: invalid use of undefined type ‘struct platform_device’
| 346 |         struct device_node *np = op->dev.of_node;
|     |                                    ^~
| ... (more similar errors)

it was working with 6.7. Looks like it only needed the include
and its compiling fine!

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Link: https://lore.kernel.org/r/3eb3f9c4407ba99d1cd275662081e46b9e839173.1707490664.git.chunkeey@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-ppc4xx.c