diff options
author | Russell King <rmk@arm.linux.org.uk> | 2006-01-05 15:44:46 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-13 20:26:10 +0100 |
commit | bbbe3a41f7ee529f7f4fdcc1bc1157234bac0766 (patch) | |
tree | a1915bb813d98f68d231d19e762c57d6ddd52e5e | |
parent | [PATCH] Add rio_bus_type probe and remove methods (diff) | |
download | linux-bbbe3a41f7ee529f7f4fdcc1bc1157234bac0766.tar.xz linux-bbbe3a41f7ee529f7f4fdcc1bc1157234bac0766.zip |
[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>
-rw-r--r-- | drivers/scsi/scsi_debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_debug.c b/drivers/scsi/scsi_debug.c index 3ded9daaf4a0..0e529f8171c4 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) |