summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_debug.c
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2006-01-05 14:44:46 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-13 11:26:10 -0800
commitbbbe3a41f7ee529f7f4fdcc1bc1157234bac0766 (patch)
treea1915bb813d98f68d231d19e762c57d6ddd52e5e /drivers/scsi/scsi_debug.c
parentfc3d3ddd3e628d9f22d4aa56a640d0b31c977a8f (diff)
downloadop-kernel-dev-bbbe3a41f7ee529f7f4fdcc1bc1157234bac0766.zip
op-kernel-dev-bbbe3a41f7ee529f7f4fdcc1bc1157234bac0766.tar.gz
[PATCH] Add Pseudo LLD bus_type probe and remove methods
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
-rw-r--r--drivers/scsi/scsi_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c
index 3ded9da..0e529f8 100644
--- 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)
OpenPOWER on IntegriCloud