projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc3d3dd
)
[PATCH] Add Pseudo LLD bus_type probe and remove methods
author
Russell King
<rmk@arm.linux.org.uk>
Thu, 5 Jan 2006 14:44:46 +0000
(14:44 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 13 Jan 2006 19:26:10 +0000
(11:26 -0800)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/scsi_debug.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/scsi_debug.c
b/drivers/scsi/scsi_debug.c
index 3ded9daaf4a01c21732f7e7d4b3fb67d5e19fda4..0e529f8171c4123c98253e5035ede1b79d9cb1cf 100644
(file)
--- a/
drivers/scsi/scsi_debug.c
+++ b/
drivers/scsi/scsi_debug.c
@@
-221,8
+221,6
@@
static struct bus_type pseudo_lld_bus;
static struct device_driver sdebug_driverfs_driver = {
.name = sdebug_proc_name,
.bus = &pseudo_lld_bus,
- .probe = sdebug_driver_probe,
- .remove = sdebug_driver_remove,
};
static const int check_condition_result =
@@
-1796,6
+1794,8
@@
static int pseudo_lld_bus_match(struct device *dev,
static struct bus_type pseudo_lld_bus = {
.name = "pseudo",
.match = pseudo_lld_bus_match,
+ .probe = sdebug_driver_probe,
+ .remove = sdebug_driver_remove,
};
static void sdebug_release_adapter(struct device * dev)