diff options
Diffstat (limited to 'board/gdsys/common')
-rw-r--r-- | board/gdsys/common/cmd_ioloop.c | 2 | ||||
-rw-r--r-- | board/gdsys/common/dp501.c | 1 | ||||
-rw-r--r-- | board/gdsys/common/dp501.h | 1 | ||||
-rw-r--r-- | board/gdsys/common/fanctrl.h | 1 | ||||
-rw-r--r-- | board/gdsys/common/ihs_mdio.c | 1 | ||||
-rw-r--r-- | board/gdsys/common/ihs_mdio.h | 1 | ||||
-rw-r--r-- | board/gdsys/common/ioep-fpga.c | 1 | ||||
-rw-r--r-- | board/gdsys/common/mclink.h | 1 | ||||
-rw-r--r-- | board/gdsys/common/osd.c | 1 | ||||
-rw-r--r-- | board/gdsys/common/osd_cmd.c | 1 | ||||
-rw-r--r-- | board/gdsys/common/phy.c | 1 |
11 files changed, 12 insertions, 0 deletions
diff --git a/board/gdsys/common/cmd_ioloop.c b/board/gdsys/common/cmd_ioloop.c index 881f2cc7bf..5a3ffa2173 100644 --- a/board/gdsys/common/cmd_ioloop.c +++ b/board/gdsys/common/cmd_ioloop.c @@ -6,12 +6,14 @@ #include <common.h> #include <command.h> +#include <compiler.h> #include <console.h> #include <stdio.h> #include <vsprintf.h> #include <linux/bitops.h> #include <linux/delay.h> #include <linux/string.h> +#include <linux/types.h> #include <gdsys_fpga.h> diff --git a/board/gdsys/common/dp501.c b/board/gdsys/common/dp501.c index 55be6bc295..38938cc767 100644 --- a/board/gdsys/common/dp501.c +++ b/board/gdsys/common/dp501.c @@ -23,6 +23,7 @@ int dp501_i2c[] = CONFIG_SYS_DP501_I2C; int dp501_base[] = CONFIG_SYS_DP501_BASE; #endif +#include <linux/types.h> static void dp501_setbits(u8 addr, u8 reg, u8 mask) { u8 val; diff --git a/board/gdsys/common/dp501.h b/board/gdsys/common/dp501.h index 9f3238638f..3eb8b11345 100644 --- a/board/gdsys/common/dp501.h +++ b/board/gdsys/common/dp501.h @@ -25,6 +25,7 @@ #define _DP501_H_ #include <stdbool.h> +#include <asm/types.h> void dp501_powerup(u8 addr); void dp501_powerdown(u8 addr); int dp501_probe(unsigned screen, bool power); diff --git a/board/gdsys/common/fanctrl.h b/board/gdsys/common/fanctrl.h index ab7e58def5..e246b5d304 100644 --- a/board/gdsys/common/fanctrl.h +++ b/board/gdsys/common/fanctrl.h @@ -7,6 +7,7 @@ #ifndef _FANCTRL_H_ #define _FANCTRL_H_ +#include <asm/types.h> void init_fan_controller(u8 addr); #endif diff --git a/board/gdsys/common/ihs_mdio.c b/board/gdsys/common/ihs_mdio.c index ea91d767d5..6dc057ccca 100644 --- a/board/gdsys/common/ihs_mdio.c +++ b/board/gdsys/common/ihs_mdio.c @@ -8,6 +8,7 @@ #include <stdio.h> #include <linux/delay.h> #include <linux/string.h> +#include <linux/types.h> #include <miiphy.h> #ifdef CONFIG_GDSYS_LEGACY_DRIVERS diff --git a/board/gdsys/common/ihs_mdio.h b/board/gdsys/common/ihs_mdio.h index d0a4b0d7a8..7fd07f6c97 100644 --- a/board/gdsys/common/ihs_mdio.h +++ b/board/gdsys/common/ihs_mdio.h @@ -7,6 +7,7 @@ #ifndef _IHS_MDIO_H_ #define _IHS_MDIO_H_ +#include <asm/types.h> struct ihs_mdio_info { #ifdef CONFIG_GDSYS_LEGACY_DRIVERS u32 fpga; diff --git a/board/gdsys/common/ioep-fpga.c b/board/gdsys/common/ioep-fpga.c index 115f10c30c..d8d6df7564 100644 --- a/board/gdsys/common/ioep-fpga.c +++ b/board/gdsys/common/ioep-fpga.c @@ -384,6 +384,7 @@ static int get_features(unsigned int fpga, struct fpga_features *features) u16 raw_extended_features; #endif +#include <asm/types.h> memset(features, 0, sizeof(struct fpga_features)); FPGA_GET_REG(fpga, fpga_features, &raw_features); diff --git a/board/gdsys/common/mclink.h b/board/gdsys/common/mclink.h index 4dc4058892..6baf8e1d0f 100644 --- a/board/gdsys/common/mclink.h +++ b/board/gdsys/common/mclink.h @@ -7,6 +7,7 @@ #ifndef _MCLINK_H_ #define _MCLINK_H_ +#include <asm/types.h> int mclink_probe(void); int mclink_send(u8 slave, u16 addr, u16 data); int mclink_receive(u8 slave, u16 addr, u16 *data); diff --git a/board/gdsys/common/osd.c b/board/gdsys/common/osd.c index a43031d513..d435d1e23c 100644 --- a/board/gdsys/common/osd.c +++ b/board/gdsys/common/osd.c @@ -67,6 +67,7 @@ unsigned int base_width; unsigned int base_height; +#include <linux/types.h> size_t bufsize; u16 *buf; diff --git a/board/gdsys/common/osd_cmd.c b/board/gdsys/common/osd_cmd.c index e306d7e82f..cca6cb02c5 100644 --- a/board/gdsys/common/osd_cmd.c +++ b/board/gdsys/common/osd_cmd.c @@ -18,6 +18,7 @@ #include <malloc.h> #include <vsprintf.h> #include <linux/string.h> +#include <linux/types.h> static int do_osd_write(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) diff --git a/board/gdsys/common/phy.c b/board/gdsys/common/phy.c index cfa681c2e1..d3fd354144 100644 --- a/board/gdsys/common/phy.c +++ b/board/gdsys/common/phy.c @@ -8,6 +8,7 @@ #include <log.h> #include <stdio.h> #include <time.h> +#include <asm/types.h> #include <linux/kernel.h> #include <miiphy.h> |