diff options
author | Russell King <rmk@arm.linux.org.uk> | 2006-01-05 09:44:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-13 14:26:10 -0500 |
commit | bbbe3a41f7ee529f7f4fdcc1bc1157234bac0766 (patch) | |
tree | a1915bb813d98f68d231d19e762c57d6ddd52e5e /drivers/scsi/scsi_debug.c | |
parent | fc3d3ddd3e628d9f22d4aa56a640d0b31c977a8f (diff) |
[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.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; | |||
221 | static struct device_driver sdebug_driverfs_driver = { | 221 | static struct device_driver sdebug_driverfs_driver = { |
222 | .name = sdebug_proc_name, | 222 | .name = sdebug_proc_name, |
223 | .bus = &pseudo_lld_bus, | 223 | .bus = &pseudo_lld_bus, |
224 | .probe = sdebug_driver_probe, | ||
225 | .remove = sdebug_driver_remove, | ||
226 | }; | 224 | }; |
227 | 225 | ||
228 | static const int check_condition_result = | 226 | static const int check_condition_result = |
@@ -1796,6 +1794,8 @@ static int pseudo_lld_bus_match(struct device *dev, | |||
1796 | static struct bus_type pseudo_lld_bus = { | 1794 | static struct bus_type pseudo_lld_bus = { |
1797 | .name = "pseudo", | 1795 | .name = "pseudo", |
1798 | .match = pseudo_lld_bus_match, | 1796 | .match = pseudo_lld_bus_match, |
1797 | .probe = sdebug_driver_probe, | ||
1798 | .remove = sdebug_driver_remove, | ||
1799 | }; | 1799 | }; |
1800 | 1800 | ||
1801 | static void sdebug_release_adapter(struct device * dev) | 1801 | static void sdebug_release_adapter(struct device * dev) |