Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
951169c0
Commit
951169c0
authored
Jun 26, 2003
by
James Bottomley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SCSI: Add missing scsi/scsi_driver.h file
parent
56cb7007
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
include/scsi/scsi_driver.h
include/scsi/scsi_driver.h
+27
-0
No files found.
include/scsi/scsi_driver.h
0 → 100644
View file @
951169c0
#ifndef _SCSI_SCSI_DRIVER_H
#define _SCSI_SCSI_DRIVER_H
#include <linux/device.h>
struct
module
;
struct
scsi_driver
{
struct
module
*
owner
;
struct
device_driver
gendrv
;
int
(
*
init_command
)(
struct
scsi_cmnd
*
);
void
(
*
rescan
)(
struct
device
*
);
};
#define to_scsi_driver(drv) \
container_of((drv), struct scsi_driver, gendrv)
extern
int
scsi_register_driver
(
struct
device_driver
*
);
#define scsi_unregister_driver(drv) \
driver_unregister(drv);
extern
int
scsi_register_interface
(
struct
class_interface
*
);
#define scsi_unregister_interface(intf) \
class_interface_unregister(intf)
#endif
/* _SCSI_SCSI_DRIVER_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment