| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Shared defines for all mac80211 Prism54 code |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Based on the islsm (softmac prism54) driver, which is: |
|---|
| 7 | 8 | * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 10 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 11 | | - * published by the Free Software Foundation. |
|---|
| 12 | 9 | */ |
|---|
| 13 | 10 | |
|---|
| 14 | 11 | #ifndef P54_H |
|---|
| .. | .. |
|---|
| 129 | 126 | size_t entry_size; |
|---|
| 130 | 127 | size_t offset; |
|---|
| 131 | 128 | size_t len; |
|---|
| 132 | | - u8 data[0]; |
|---|
| 129 | + u8 data[]; |
|---|
| 133 | 130 | }; |
|---|
| 134 | 131 | |
|---|
| 135 | 132 | #define EEPROM_READBACK_LEN 0x3fc |
|---|