hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/pcmcia/pcmcia_cis.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * PCMCIA high-level CIS access functions
34 *
....@@ -7,11 +8,6 @@
78 *
89 * Copyright (C) 1999 David A. Hinds
910 * Copyright (C) 2004-2010 Dominik Brodowski
10
- *
11
- * This program is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License version 2 as
13
- * published by the Free Software Foundation.
14
- *
1511 */
1612
1713 #include <linux/slab.h>
....@@ -82,9 +78,9 @@
8278 * calls the @loop_tuple function for each entry. If the call to @loop_tuple
8379 * returns 0, the loop exits. Returns 0 on success or errorcode otherwise.
8480 */
85
-int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function,
86
- cisdata_t code, cisparse_t *parse, void *priv_data,
87
- int (*loop_tuple) (tuple_t *tuple,
81
+static int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function,
82
+ cisdata_t code, cisparse_t *parse, void *priv_data,
83
+ int (*loop_tuple) (tuple_t *tuple,
8884 cisparse_t *parse,
8985 void *priv_data))
9086 {