projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9ccf45
)
[PATCH] Add superhyway_bus_type probe and remove methods
author
Russell King
<rmk@arm.linux.org.uk>
Thu, 5 Jan 2006 14:42:40 +0000
(14:42 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 13 Jan 2006 19:26:09 +0000
(11:26 -0800)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/sh/superhyway/superhyway.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/sh/superhyway/superhyway.c
b/drivers/sh/superhyway/superhyway.c
index 7bdab2a7f59c61f25f7dd8b6b44c1b10e5ff6b42..94b22903119841369dcae3779c55eaeb36fce066 100644
(file)
--- a/
drivers/sh/superhyway/superhyway.c
+++ b/
drivers/sh/superhyway/superhyway.c
@@
-175,8
+175,6
@@
int superhyway_register_driver(struct superhyway_driver *drv)
{
drv->drv.name = drv->name;
drv->drv.bus = &superhyway_bus_type;
- drv->drv.probe = superhyway_device_probe;
- drv->drv.remove = superhyway_device_remove;
return driver_register(&drv->drv);
}
@@
-213,6
+211,8
@@
struct bus_type superhyway_bus_type = {
#ifdef CONFIG_SYSFS
.dev_attrs = superhyway_dev_attrs,
#endif
+ .probe = superhyway_device_probe,
+ .remove = superhyway_device_remove,
};
static int __init superhyway_bus_init(void)