| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * PCMCIA high-level CIS access functions |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * Copyright (C) 1999 David A. Hinds |
|---|
| 9 | 10 | * 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 | | - * |
|---|
| 15 | 11 | */ |
|---|
| 16 | 12 | |
|---|
| 17 | 13 | #include <linux/slab.h> |
|---|
| .. | .. |
|---|
| 82 | 78 | * calls the @loop_tuple function for each entry. If the call to @loop_tuple |
|---|
| 83 | 79 | * returns 0, the loop exits. Returns 0 on success or errorcode otherwise. |
|---|
| 84 | 80 | */ |
|---|
| 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, |
|---|
| 88 | 84 | cisparse_t *parse, |
|---|
| 89 | 85 | void *priv_data)) |
|---|
| 90 | 86 | { |
|---|