diff options
| author | Marek Vasut <[email protected]> | 2026-03-16 00:58:06 +0100 |
|---|---|---|
| committer | Peter Robinson <[email protected]> | 2026-03-26 08:29:18 +0000 |
| commit | b04e4b19d4ddff2226a06b6b19f890b6df58e719 (patch) | |
| tree | 7d30cdc0d5fa05f814adfdd46e701028f6a458eb | |
| parent | eb95914b9f5886b7ca0eaa2dbcd8a66bb8e5f81a (diff) | |
arm: bcm: Include missing errno.h
The msg.c file uses EIO macro defined in errno.h , include errno.h
to avoid build failure:
"
arch/arm/mach-bcm283x/msg.c: In function 'bcm2835_power_on_module':
arch/arm/mach-bcm283x/msg.c:73:25: error: 'EIO' undeclared (first use in this function)
73 | return -EIO;
| ^~~
"
Signed-off-by: Marek Vasut <[email protected]>
| -rw-r--r-- | arch/arm/mach-bcm283x/msg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm283x/msg.c b/arch/arm/mach-bcm283x/msg.c index 4993c0bdb81..05e1a02e80f 100644 --- a/arch/arm/mach-bcm283x/msg.c +++ b/arch/arm/mach-bcm283x/msg.c @@ -7,6 +7,7 @@ #include <phys2bus.h> #include <asm/arch/mbox.h> #include <linux/delay.h> +#include <linux/errno.h> struct msg_set_power_state { struct bcm2835_mbox_hdr hdr; |
