| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Header file for SCSI device handler infrastruture. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Modified version of patches posted by Mike Christie <michaelc@cs.wisc.edu> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 7 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 8 | | - * Free Software Foundation; either version 2 of the License, or (at your |
|---|
| 9 | | - * option) any later version. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 12 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 14 | | - * General Public License for more details. |
|---|
| 15 | | - * |
|---|
| 16 | | - * You should have received a copy of the GNU General Public License along |
|---|
| 17 | | - * with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| 18 | | - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|---|
| 19 | 6 | * |
|---|
| 20 | 7 | * Copyright IBM Corporation, 2007 |
|---|
| 21 | 8 | * Authors: |
|---|
| .. | .. |
|---|
| 69 | 56 | int (*attach)(struct scsi_device *); |
|---|
| 70 | 57 | void (*detach)(struct scsi_device *); |
|---|
| 71 | 58 | int (*activate)(struct scsi_device *, activate_complete, void *); |
|---|
| 72 | | - int (*prep_fn)(struct scsi_device *, struct request *); |
|---|
| 59 | + blk_status_t (*prep_fn)(struct scsi_device *, struct request *); |
|---|
| 73 | 60 | int (*set_params)(struct scsi_device *, const char *); |
|---|
| 74 | 61 | void (*rescan)(struct scsi_device *); |
|---|
| 75 | 62 | }; |
|---|