summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/pcmcia_cis.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2020-05-18 10:58:50 +0200
committerDominik Brodowski <linux@dominikbrodowski.net>2020-05-18 11:16:39 +0200
commit46d0797906633d82bd50ef26780ee39fac5d27d6 (patch)
tree36e25025c4a52408dde489034d55855083c72bcf /drivers/pcmcia/pcmcia_cis.c
parent06ed6aa56ffac9241e03a24649e8d048f8f1b10c (diff)
pcmcia: make pccard_loop_tuple() static
pccard_loop_tuple() is only used within drivers/pcmcia/pcmcia_cis.c, so make that function static. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/pcmcia_cis.c')
-rw-r--r--drivers/pcmcia/pcmcia_cis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pcmcia/pcmcia_cis.c b/drivers/pcmcia/pcmcia_cis.c
index b553f7ab532f..e4c4daf92038 100644
--- a/drivers/pcmcia/pcmcia_cis.c
+++ b/drivers/pcmcia/pcmcia_cis.c
@@ -78,9 +78,9 @@ done:
* calls the @loop_tuple function for each entry. If the call to @loop_tuple
* returns 0, the loop exits. Returns 0 on success or errorcode otherwise.
*/
-int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function,
- cisdata_t code, cisparse_t *parse, void *priv_data,
- int (*loop_tuple) (tuple_t *tuple,
+static int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function,
+ cisdata_t code, cisparse_t *parse, void *priv_data,
+ int (*loop_tuple) (tuple_t *tuple,
cisparse_t *parse,
void *priv_data))
{