[PATCH 2/4] Make some functions static

Pontus Fuchs pontus.fuchs at gmail.com
Thu May 23 05:20:45 EDT 2013


There are used only locally in smd.c

Signed-off-by: Pontus Fuchs <pontus.fuchs at gmail.com>
---
 smd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/smd.c b/smd.c
index 18a0ead..95b5028 100644
--- a/smd.c
+++ b/smd.c
@@ -16,7 +16,7 @@
 
 #include "smd.h"
 
-int wcn36xx_smd_send_and_wait(struct wcn36xx *wcn, size_t len)
+static int wcn36xx_smd_send_and_wait(struct wcn36xx *wcn, size_t len)
 {
 	int avail;
 
@@ -57,7 +57,7 @@ int wcn36xx_smd_send_and_wait(struct wcn36xx *wcn, size_t len)
 		memcpy(send_buf, &msg_body, sizeof(msg_body));	\
 	} while (0)						\
 
-int wcn36xx_smd_rsp_status_check(void *buf, size_t len)
+static int wcn36xx_smd_rsp_status_check(void *buf, size_t len)
 {
 	struct wcn36xx_fw_msg_status_rsp * rsp;
 	if (len < sizeof(struct wcn36xx_hal_msg_header) +
-- 
1.8.1.2




More information about the wcn36xx mailing list