[U-Boot] [PATCH 08/10] dm: tegra: Staticize local functions in usb.c

Marek Vasut
2012-07-21T15:02:25Z

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Warren <twarren@nvidia.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: U-Boot DM <u-boot-dm@lists.denx.de>
---
arch/arm/cpu/armv7/tegra2/usb.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm/cpu/armv7/tegra2/usb.c b/arch/arm/cpu/armv7/tegra2/usb.c
index 5f2b243..ea7f701 100644
--- a/arch/arm/cpu/armv7/tegra2/usb.c
+++ b/arch/arm/cpu/armv7/tegra2/usb.c
@@ -158,7 +158,8 @@ static void set_host_mode(struct fdt_usb *config)
}
}

-void usbf_reset_controller(struct fdt_usb *config, struct usb_ctlr *usbctlr)
+static void usbf_reset_controller(struct fdt_usb *config,
+ struct usb_ctlr *usbctlr)
{
/* Reset the USB controller with 2us delay */
reset_periph(config->periph_id, 2);
@@ -382,8 +383,8 @@ int tegrausb_stop_port(void)
return 0;
}

-int fdt_decode_usb(const void *blob, int node, unsigned osc_frequency_mhz,
- struct fdt_usb *config)
+static int fdt_decode_usb(const void *blob, int node,
+ unsigned osc_frequency_mhz, struct fdt_usb *config)
{
const char *phy, *mode;

--
1.7.10.4