mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 06:41:06 -04:00
staging: ks7010: declare private functions static
Private functions in ks_hostif.c can be declared static.
Fixes: 13a9930d15 ("staging: ks7010: add driver from Nanonote extra-repository")
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Reviewed-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
9d29f14db1
commit
9afe11e956
@@ -69,7 +69,7 @@ inline u32 get_DWORD(struct ks_wlan_private *priv)
|
||||
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 =
|
||||
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)
|
||||
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;
|
||||
uint16_t capability;
|
||||
|
||||
Reference in New Issue
Block a user