mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 03:00:54 +07:00
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>
This commit is contained in:
parent
06ed6aa56f
commit
46d0797906
@ -164,12 +164,6 @@ int pcmcia_replace_cis(struct pcmcia_socket *s,
|
|||||||
int pccard_validate_cis(struct pcmcia_socket *s, unsigned int *count);
|
int pccard_validate_cis(struct pcmcia_socket *s, unsigned int *count);
|
||||||
int verify_cis_cache(struct pcmcia_socket *s);
|
int verify_cis_cache(struct pcmcia_socket *s);
|
||||||
|
|
||||||
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));
|
|
||||||
|
|
||||||
int pccard_get_first_tuple(struct pcmcia_socket *s, unsigned int function,
|
int pccard_get_first_tuple(struct pcmcia_socket *s, unsigned int function,
|
||||||
tuple_t *tuple);
|
tuple_t *tuple);
|
||||||
|
|
||||||
|
@ -78,9 +78,9 @@ int pccard_read_tuple(struct pcmcia_socket *s, unsigned int function,
|
|||||||
* calls the @loop_tuple function for each entry. If the call to @loop_tuple
|
* 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.
|
* returns 0, the loop exits. Returns 0 on success or errorcode otherwise.
|
||||||
*/
|
*/
|
||||||
int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function,
|
static int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function,
|
||||||
cisdata_t code, cisparse_t *parse, void *priv_data,
|
cisdata_t code, cisparse_t *parse, void *priv_data,
|
||||||
int (*loop_tuple) (tuple_t *tuple,
|
int (*loop_tuple) (tuple_t *tuple,
|
||||||
cisparse_t *parse,
|
cisparse_t *parse,
|
||||||
void *priv_data))
|
void *priv_data))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user