diff options
author | Russell King <rmk@arm.linux.org.uk> | 2006-01-05 15:43:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-13 20:26:10 +0100 |
commit | b6a01e9bda69aaf22f3a23bafc91c0fb51420a7a (patch) | |
tree | f98effb1d882d8d2648a989e3a6bd72d853bdb16 /drivers/zorro/zorro-driver.c | |
parent | [PATCH] Add usb_serial_bus_type probe and remove methods (diff) | |
download | linux-b6a01e9bda69aaf22f3a23bafc91c0fb51420a7a.tar.xz linux-b6a01e9bda69aaf22f3a23bafc91c0fb51420a7a.zip |
[PATCH] Add zorro_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/zorro/zorro-driver.c')
-rw-r--r-- | drivers/zorro/zorro-driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/zorro/zorro-driver.c b/drivers/zorro/zorro-driver.c index ccba227676f2..fcbee748c592 100644 --- a/drivers/zorro/zorro-driver.c +++ b/drivers/zorro/zorro-driver.c @@ -77,7 +77,6 @@ int zorro_register_driver(struct zorro_driver *drv) /* initialize common driver fields */ drv->driver.name = drv->name; drv->driver.bus = &zorro_bus_type; - drv->driver.probe = zorro_device_probe; /* register with core */ count = driver_register(&drv->driver); @@ -132,7 +131,8 @@ static int zorro_bus_match(struct device *dev, struct device_driver *drv) struct bus_type zorro_bus_type = { .name = "zorro", - .match = zorro_bus_match + .match = zorro_bus_match, + .probe = zorro_device_probe, }; |