projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e08b754
)
[PATCH] Add SA1111 bus_type probe/remove methods
author
Russell King
<rmk@arm.linux.org.uk>
Thu, 5 Jan 2006 14:32:32 +0000
(14:32 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 13 Jan 2006 19:26:05 +0000
(11:26 -0800)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/common/sa1111.c
patch
|
blob
|
history
diff --git
a/arch/arm/common/sa1111.c
b/arch/arm/common/sa1111.c
index d0d6e6d2d649e9887813fc6f3e08debb292e2b81..1475089f9b4265f7b2c9dc86696dea0a4970c027 100644
(file)
--- 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);
}