[PATCH 094/111] SPWCUC: fix build warnings
Daniel Hellstrom
daniel at gaisler.com
Thu Feb 26 16:39:36 UTC 2015
---
c/src/lib/libbsp/sparc/shared/time/spwcuc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/time/spwcuc.c b/c/src/lib/libbsp/sparc/shared/time/spwcuc.c
index 738ec1a..f5d0f11 100644
--- a/c/src/lib/libbsp/sparc/shared/time/spwcuc.c
+++ b/c/src/lib/libbsp/sparc/shared/time/spwcuc.c
@@ -32,7 +32,7 @@ void spwcuc_isr(void *data);
struct amba_drv_info spwcuc_drv_info;
/* Hardware Reset of SPWCUC */
-int spwcuc_hw_reset(struct spwcuc_priv *priv)
+static int spwcuc_hw_reset(struct spwcuc_priv *priv)
{
struct spwcuc_regs *r = priv->regs;
int i = 1000;
@@ -303,7 +303,7 @@ void spwcuc_isr(void *data)
/*** INTERFACE TO DRIVER MANAGER ***/
-int spwcuc_init2(struct drvmgr_dev *dev)
+static int spwcuc_init2(struct drvmgr_dev *dev)
{
struct amba_dev_info *ambadev;
struct ambapp_core *pnpinfo;
--
1.7.0.4
More information about the devel
mailing list