summaryrefslogtreecommitdiff
path: root/drivers/dio
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2006-01-05 14:37:18 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-13 11:26:07 -0800
commit5b34bf88779fa965a134b92ab61688e0d1ddfe1d (patch)
treebf3387d7cc4d8880894d8884baf9f3e318e1e26e /drivers/dio
parent2f53a80fc0f6287d4bd6cc2422cd095c90f30410 (diff)
downloadlinux-3.10-5b34bf88779fa965a134b92ab61688e0d1ddfe1d.tar.gz
linux-3.10-5b34bf88779fa965a134b92ab61688e0d1ddfe1d.tar.bz2
linux-3.10-5b34bf88779fa965a134b92ab61688e0d1ddfe1d.zip
[PATCH] Add dio_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/dio')
-rw-r--r--drivers/dio/dio-driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dio/dio-driver.c b/drivers/dio/dio-driver.c
index ffe6f44ac76..ca8e69d2f64 100644
--- a/drivers/dio/dio-driver.c
+++ b/drivers/dio/dio-driver.c
@@ -83,7 +83,6 @@ int dio_register_driver(struct dio_driver *drv)
/* initialize common driver fields */
drv->driver.name = drv->name;
drv->driver.bus = &dio_bus_type;
- drv->driver.probe = dio_device_probe;
/* register with core */
count = driver_register(&drv->driver);
@@ -145,7 +144,8 @@ static int dio_bus_match(struct device *dev, struct device_driver *drv)
struct bus_type dio_bus_type = {
.name = "dio",
- .match = dio_bus_match
+ .match = dio_bus_match,
+ .probe = dio_device_probe,
};