summaryrefslogtreecommitdiffstats
path: root/arch/arm/common/sa1111.c
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2006-01-05 15:32:32 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-13 20:26:05 +0100
commit2876ba4321f0f85c40726b736eeaadf317803f16 (patch)
treebff3510763543ff92b613810347c34fcf7b4bdb7 /arch/arm/common/sa1111.c
parent[PATCH] Add ecard_bus_type probe/remove/shutdown methods (diff)
downloadlinux-2876ba4321f0f85c40726b736eeaadf317803f16.tar.xz
linux-2876ba4321f0f85c40726b736eeaadf317803f16.zip
[PATCH] Add SA1111 bus_type probe/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 '')
-rw-r--r--arch/arm/common/sa1111.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c
index d0d6e6d2d649..1475089f9b42 100644
--- a/arch/arm/common/sa1111.c
+++ b/arch/arm/common/sa1111.c
@@ -1247,14 +1247,14 @@ static int sa1111_bus_remove(struct device *dev)
struct bus_type sa1111_bus_type = {
.name = "sa1111-rab",
.match = sa1111_match,
+ .probe = sa1111_bus_probe,
+ .remove = sa1111_bus_remove,
.suspend = sa1111_bus_suspend,
.resume = sa1111_bus_resume,
};
int sa1111_driver_register(struct sa1111_driver *driver)
{
- driver->drv.probe = sa1111_bus_probe;
- driver->drv.remove = sa1111_bus_remove;
driver->drv.bus = &sa1111_bus_type;
return driver_register(&driver->drv);
}