[PATCH 097/111] GRADCDAC: fix build warnings

Daniel Hellstrom daniel at gaisler.com
Thu Feb 26 16:39:39 UTC 2015


---
 c/src/lib/libbsp/sparc/shared/analog/gradcdac.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/c/src/lib/libbsp/sparc/shared/analog/gradcdac.c b/c/src/lib/libbsp/sparc/shared/analog/gradcdac.c
index 4b8e636..c04c856 100644
--- a/c/src/lib/libbsp/sparc/shared/analog/gradcdac.c
+++ b/c/src/lib/libbsp/sparc/shared/analog/gradcdac.c
@@ -141,7 +141,7 @@ int gradcdac_init3(struct drvmgr_dev *dev)
 	return DRVMGR_OK;
 }
 
-void gradcdac_print_dev(struct gradcdac_priv *pDev)
+static void gradcdac_print_dev(struct gradcdac_priv *pDev)
 {
 	printf("======= GRADCDAC %p =======\n", pDev->regs);
 	printf(" Minor:          %d\n", pDev->minor);
@@ -174,7 +174,7 @@ void gradcdac_print(void *cookie)
 	}
 }
 
-void gradcdac_hw_reset(struct gradcdac_regs *regs)
+static void gradcdac_hw_reset(struct gradcdac_regs *regs)
 {
 	/* Reset core */
 	regs->config = 0;
-- 
1.7.0.4



More information about the devel mailing list