Patch "powerpc/4xx: Fix warp_gpio_leds build failure" has been added to the 6.8-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    powerpc/4xx: Fix warp_gpio_leds build failure

to the 6.8-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     powerpc-4xx-fix-warp_gpio_leds-build-failure.patch
and it can be found in the queue-6.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 6fa79fe981cc7e16e04da33df7f6f1c98425419d
Author: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
Date:   Tue Mar 5 23:34:10 2024 +1100

    powerpc/4xx: Fix warp_gpio_leds build failure
    
    [ Upstream commit 5b9e00a6004cf837c43fdb8d5290df619de78024 ]
    
    The 44x/warp_defconfig build fails with:
    
      arch/powerpc/platforms/44x/warp.c:109:15: error: variable ‘warp_gpio_leds’ has initializer but incomplete type
        109 | static struct platform_device warp_gpio_leds = {
            |               ^~~~~~~~~~~~~~~
    
    Fix it by including platform_device.h.
    
    Fixes: ef175b29a242 ("of: Stop circularly including of_device.h and of_platform.h")
    Signed-off-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
    Link: https://msgid.link/20240305123410.3306253-3-mpe@xxxxxxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/powerpc/platforms/44x/warp.c b/arch/powerpc/platforms/44x/warp.c
index bf0188dcb9184..a5001d32f978d 100644
--- a/arch/powerpc/platforms/44x/warp.c
+++ b/arch/powerpc/platforms/44x/warp.c
@@ -8,6 +8,7 @@
 #include <linux/err.h>
 #include <linux/init.h>
 #include <linux/of_platform.h>
+#include <linux/platform_device.h>
 #include <linux/kthread.h>
 #include <linux/leds.h>
 #include <linux/i2c.h>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux