wl1271: fix sparse warnings about undeclared functions
The following sparse warnings were fixed: drivers/net/wireless/wl12xx/wl1271_spi.c:199:6: warning: symbol 'wl1271_spi_read_busy' was not declared. Should it be static? drivers/net/wireless/wl12xx/wl1271_cmd.c:84:5: warning: symbol 'wl1271_cmd_cal_channel_tune' was not declared. Should it be static? drivers/net/wireless/wl12xx/wl1271_cmd.c:107:5: warning: symbol 'wl1271_cmd_cal_update_ref_point' was not declared. Should it be static? drivers/net/wireless/wl12xx/wl1271_cmd.c:132:5: warning: symbol 'wl1271_cmd_cal_p2g' was not declared. Should it be static? drivers/net/wireless/wl12xx/wl1271_cmd.c:153:5: warning: symbol 'wl1271_cmd_cal' was not declared. Should it be static? Reported-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
7a38079e0d
commit
938e30c930
@@ -81,7 +81,7 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
int wl1271_cmd_cal_channel_tune(struct wl1271 *wl)
|
||||
static int wl1271_cmd_cal_channel_tune(struct wl1271 *wl)
|
||||
{
|
||||
struct wl1271_cmd_cal_channel_tune *cmd;
|
||||
int ret = 0;
|
||||
@@ -104,7 +104,7 @@ int wl1271_cmd_cal_channel_tune(struct wl1271 *wl)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int wl1271_cmd_cal_update_ref_point(struct wl1271 *wl)
|
||||
static int wl1271_cmd_cal_update_ref_point(struct wl1271 *wl)
|
||||
{
|
||||
struct wl1271_cmd_cal_update_ref_point *cmd;
|
||||
int ret = 0;
|
||||
@@ -129,7 +129,7 @@ int wl1271_cmd_cal_update_ref_point(struct wl1271 *wl)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int wl1271_cmd_cal_p2g(struct wl1271 *wl)
|
||||
static int wl1271_cmd_cal_p2g(struct wl1271 *wl)
|
||||
{
|
||||
struct wl1271_cmd_cal_p2g *cmd;
|
||||
int ret = 0;
|
||||
@@ -150,7 +150,7 @@ int wl1271_cmd_cal_p2g(struct wl1271 *wl)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int wl1271_cmd_cal(struct wl1271 *wl)
|
||||
static int wl1271_cmd_cal(struct wl1271 *wl)
|
||||
{
|
||||
/*
|
||||
* FIXME: we must make sure that we're not sleeping when calibration
|
||||
|
Reference in New Issue
Block a user