powerpc/4xx: Fix warp_gpio_leds build failure
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 5 Mar 2024 12:34:10 +0000 (23:34 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 6 Mar 2024 13:13:28 +0000 (00:13 +1100)
commit5b9e00a6004cf837c43fdb8d5290df619de78024
tree3ad371ec26d4044acf7794a48365f360b70c412e
parente8b1ce0e287fd1493334f3435d763aecd517afd9
powerpc/4xx: Fix warp_gpio_leds build failure

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@ellerman.id.au>
Link: https://msgid.link/20240305123410.3306253-3-mpe@ellerman.id.au
arch/powerpc/platforms/44x/warp.c