]> git.itanic.dy.fi Git - linux-stable/commit
spi: ppc4xx: Fix fallout from include cleanup
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sat, 10 Feb 2024 16:40:06 +0000 (17:40 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 11 Feb 2024 16:57:27 +0000 (16:57 +0000)
commit6f98e44984d5eff599906c0376c027df985bf38b
tree0754b608ff74d3f80d611bb14ba9f11b24ef189d
parent9f208e097801f9c2088eb339a1162fff81c08b4e
spi: ppc4xx: Fix fallout from include cleanup

The driver uses several symbols declared in <linux/platform_device.h>,
e.g module_platform_driver(). Include this header explicitly now that
<linux/of_platform.h> doesn't include <linux/platform_device.h> any
more.

Fixes: ef175b29a242 ("of: Stop circularly including of_device.h and of_platform.h")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20240210164006.208149-6-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-ppc4xx.c