Commit b6a01e9bda69aaf22f3a23bafc91c0fb51420a7a

Authored by Russell King
Committed by Greg Kroah-Hartman
1 parent ac33bc3d54

[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>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/zorro/zorro-driver.c
... ... @@ -77,7 +77,6 @@
77 77 /* initialize common driver fields */
78 78 drv->driver.name = drv->name;
79 79 drv->driver.bus = &zorro_bus_type;
80   - drv->driver.probe = zorro_device_probe;
81 80  
82 81 /* register with core */
83 82 count = driver_register(&drv->driver);
... ... @@ -132,7 +131,8 @@
132 131  
133 132 struct bus_type zorro_bus_type = {
134 133 .name = "zorro",
135   - .match = zorro_bus_match
  134 + .match = zorro_bus_match,
  135 + .probe = zorro_device_probe,
136 136 };
137 137  
138 138