| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Sony MemoryStick support |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2007 Alex Dubov <oakad@yahoo.com> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | | - * |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #ifndef _MEMSTICK_H |
|---|
| .. | .. |
|---|
| 285 | 281 | |
|---|
| 286 | 282 | struct memstick_dev *card; |
|---|
| 287 | 283 | unsigned int retries; |
|---|
| 284 | + bool removing; |
|---|
| 288 | 285 | |
|---|
| 289 | 286 | /* Notify the host that some requests are pending. */ |
|---|
| 290 | 287 | void (*request)(struct memstick_host *host); |
|---|
| .. | .. |
|---|
| 292 | 289 | int (*set_param)(struct memstick_host *host, |
|---|
| 293 | 290 | enum memstick_param param, |
|---|
| 294 | 291 | int value); |
|---|
| 295 | | - unsigned long private[0] ____cacheline_aligned; |
|---|
| 292 | + unsigned long private[] ____cacheline_aligned; |
|---|
| 296 | 293 | }; |
|---|
| 297 | 294 | |
|---|
| 298 | 295 | struct memstick_driver { |
|---|