.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * cs_internal.h -- definitions internal to the PCMCIA core modules |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License version 2 as |
---|
6 | | - * published by the Free Software Foundation. |
---|
7 | 4 | * |
---|
8 | 5 | * The initial developer of the original code is David A. Hinds |
---|
9 | 6 | * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds |
---|
.. | .. |
---|
11 | 8 | * |
---|
12 | 9 | * (C) 1999 David A. Hinds |
---|
13 | 10 | * (C) 2003 - 2010 Dominik Brodowski |
---|
14 | | - * |
---|
15 | 11 | * |
---|
16 | 12 | * This file contains definitions _only_ needed by the PCMCIA core modules. |
---|
17 | 13 | * It must not be included by PCMCIA socket drivers or by PCMCIA device |
---|
.. | .. |
---|
44 | 40 | unsigned int addr; |
---|
45 | 41 | unsigned int len; |
---|
46 | 42 | unsigned int attr; |
---|
47 | | - unsigned char cache[0]; |
---|
| 43 | + unsigned char cache[]; |
---|
48 | 44 | }; |
---|
49 | 45 | |
---|
50 | 46 | struct pccard_resource_ops { |
---|
.. | .. |
---|
167 | 163 | const u8 *data, const size_t len); |
---|
168 | 164 | int pccard_validate_cis(struct pcmcia_socket *s, unsigned int *count); |
---|
169 | 165 | int verify_cis_cache(struct pcmcia_socket *s); |
---|
170 | | - |
---|
171 | | -int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function, |
---|
172 | | - cisdata_t code, cisparse_t *parse, void *priv_data, |
---|
173 | | - int (*loop_tuple) (tuple_t *tuple, |
---|
174 | | - cisparse_t *parse, |
---|
175 | | - void *priv_data)); |
---|
176 | 166 | |
---|
177 | 167 | int pccard_get_first_tuple(struct pcmcia_socket *s, unsigned int function, |
---|
178 | 168 | tuple_t *tuple); |
---|