bmips: sercomm-msp430: fix include
authorÁlvaro Fernández Rojas <[email protected]>
Sat, 10 May 2025 07:00:45 +0000 (09:00 +0200)
committerÁlvaro Fernández Rojas <[email protected]>
Sat, 10 May 2025 07:02:25 +0000 (09:02 +0200)
Include <linux/of.h> instead of <linux/of_device.h>.
This problem arised when adding support for 6.12, but it can be fixed on
older kernels too.

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
target/linux/bmips/files/drivers/leds/leds-sercomm-msp430.c

index 5e5d20d47bdbc0c5e8f3b6b62108a18d224dd796..8019a7c6e29f5c1b1eacfd96af9db8916fdbc6ca 100644 (file)
@@ -8,7 +8,7 @@
 #include <linux/delay.h>
 #include <linux/leds.h>
 #include <linux/module.h>
-#include <linux/of_device.h>
+#include <linux/of.h>
 #include <linux/spi/spi.h>
 #include "leds.h"