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

Marek Vasut marex at denx.de
Sat Jul 21 17:02:25 CEST 2012


Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Simon Glass <sjg at chromium.org>
Cc: Tom Warren <twarren at nvidia.com>
Cc: Wolfgang Denk <wd at denx.de>
Cc: Albert Aribaud <albert.u.boot at aribaud.net>
Cc: U-Boot DM <u-boot-dm at 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



More information about the U-Boot mailing list