Message ID | 3eb3f9c4407ba99d1cd275662081e46b9e839173.1707490664.git.chunkeey@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 9f208e097801f9c2088eb339a1162fff81c08b4e |
Headers | show |
Series | [v1] spi: spi-ppc4xx: include missing platform_device.h | expand |
On Fri, 09 Feb 2024 15:59:07 +0100, Christian Lamparter wrote: > 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) > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: spi-ppc4xx: include missing platform_device.h commit: 9f208e097801f9c2088eb339a1162fff81c08b4e All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/drivers/spi/spi-ppc4xx.c b/drivers/spi/spi-ppc4xx.c index 03aab661be9d..412d6e678224 100644 --- a/drivers/spi/spi-ppc4xx.c +++ b/drivers/spi/spi-ppc4xx.c @@ -25,6 +25,7 @@ #include <linux/slab.h> #include <linux/errno.h> #include <linux/wait.h> +#include <linux/platform_device.h> #include <linux/of_address.h> #include <linux/of_irq.h> #include <linux/of_platform.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> --- drivers/spi/spi-ppc4xx.c | 1 + 1 file changed, 1 insertion(+)