diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-10-08 22:57:46 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-25 07:27:37 -0400 |
commit | 19d7bf3d868383bf504c1dd2b4618fbf2b3dc20e (patch) | |
tree | 614234ed7a890398eee4c2b3e4f777ff10a4cd52 /arch | |
parent | 654f8d0f3d4c606b75b70bbf0b1303a6074f0788 (diff) | |
download | u-boot-imx-19d7bf3d868383bf504c1dd2b4618fbf2b3dc20e.zip u-boot-imx-19d7bf3d868383bf504c1dd2b4618fbf2b3dc20e.tar.gz u-boot-imx-19d7bf3d868383bf504c1dd2b4618fbf2b3dc20e.tar.bz2 |
tegra: make local functions static
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/armv7/tegra20/display.c | 3 | ||||
-rw-r--r-- | arch/arm/cpu/tegra-common/sys_info.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/tegra20/display.c b/arch/arm/cpu/armv7/tegra20/display.c index fd77f3f..d98cec9 100644 --- a/arch/arm/cpu/armv7/tegra20/display.c +++ b/arch/arm/cpu/armv7/tegra20/display.c @@ -194,7 +194,8 @@ static void rgb_enable(struct dc_com_reg *com) writel(rgb_sel_tab[i], &com->pin_output_sel[i]); } -int setup_window(struct disp_ctl_win *win, struct fdt_disp_config *config) +static int setup_window(struct disp_ctl_win *win, + struct fdt_disp_config *config) { win->x = 0; win->y = 0; diff --git a/arch/arm/cpu/tegra-common/sys_info.c b/arch/arm/cpu/tegra-common/sys_info.c index de20325..5933c35 100644 --- a/arch/arm/cpu/tegra-common/sys_info.c +++ b/arch/arm/cpu/tegra-common/sys_info.c @@ -8,7 +8,7 @@ #include <common.h> #include <linux/ctype.h> -void upstring(char *s) +static void upstring(char *s) { while (*s) { *s = toupper(*s); |