Commit 9afe11e9 authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Greg Kroah-Hartman

staging: ks7010: declare private functions static

Private functions in ks_hostif.c can be declared static.

Fixes: 13a9930d ("staging: ks7010: add driver from Nanonote extra-repository")
Signed-off-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
Reviewed-by: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9d29f14d
...@@ -69,7 +69,7 @@ inline u32 get_DWORD(struct ks_wlan_private *priv) ...@@ -69,7 +69,7 @@ inline u32 get_DWORD(struct ks_wlan_private *priv)
return data; return data;
} }
void ks_wlan_hw_wakeup_task(struct work_struct *work) static void ks_wlan_hw_wakeup_task(struct work_struct *work)
{ {
struct ks_wlan_private *priv = struct ks_wlan_private *priv =
container_of(work, struct ks_wlan_private, ks_wlan_wakeup_task); container_of(work, struct ks_wlan_private, ks_wlan_wakeup_task);
...@@ -1509,7 +1509,7 @@ void hostif_infrastructure_set_request(struct ks_wlan_private *priv) ...@@ -1509,7 +1509,7 @@ void hostif_infrastructure_set_request(struct ks_wlan_private *priv)
ks_wlan_hw_tx(priv, pp, hif_align_size(sizeof(*pp)), NULL, NULL, NULL); ks_wlan_hw_tx(priv, pp, hif_align_size(sizeof(*pp)), NULL, NULL, NULL);
} }
void hostif_infrastructure_set2_request(struct ks_wlan_private *priv) static void hostif_infrastructure_set2_request(struct ks_wlan_private *priv)
{ {
struct hostif_infrastructure_set2_request_t *pp; struct hostif_infrastructure_set2_request_t *pp;
uint16_t capability; uint16_t capability;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment