Skip to content

Commit 6f98e44

Browse files
Uwe Kleine-Königbroonie
authored andcommitted
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: ef175b2 ("of: Stop circularly including of_device.h and of_platform.h") Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 9f208e0 commit 6f98e44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/spi/spi-ppc4xx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include <linux/of_platform.h>
3232
#include <linux/interrupt.h>
3333
#include <linux/delay.h>
34+
#include <linux/platform_device.h>
3435

3536
#include <linux/spi/spi.h>
3637
#include <linux/spi/spi_bitbang.h>

0 commit comments

Comments
 (0)