From 90e2b1ad6bc0f5cbaf77a6c86c883c7c99415c1e Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 7 Jun 2010 09:18:13 +0000 Subject: [PATCH] ar71xx: fix 2.6.34 build errors SVN-Revision: 21698 --- target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c | 1 + target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c | 1 + target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c | 1 + 3 files changed, 3 insertions(+) diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c index df7416de1f70..85ba33e50f5a 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c @@ -10,6 +10,7 @@ */ #include "linux/init.h" +#include "linux/slab.h" #include #include "dev-gpio-buttons.h" diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c index 7066ddc01bfa..0fb8c6db6ab3 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c @@ -12,6 +12,7 @@ */ #include +#include #include #include "dev-leds-gpio.h" diff --git a/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c b/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c index b4f1662ae550..0c2d30ef7633 100644 --- a/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c +++ b/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include -- 2.30.2