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:
7c39898
)
[ARM] 2963/1: S3C2410 - add .owner field to device_driver
author
Ben Dooks
<ben-linux@fluff.org>
Mon, 10 Oct 2005 09:20:06 +0000
(10:20 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Mon, 10 Oct 2005 09:20:06 +0000
(10:20 +0100)
Patch from Ben Dooks
Add initialisation of .owner field so that
the device driver can be referenced to the
module that owns it.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/char/s3c2410-rtc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/s3c2410-rtc.c
b/drivers/char/s3c2410-rtc.c
index ed867db550a9da16a690a9a122b28d33491ac6f8..e1a90d9a8756711bfc5c85a7fb87b19f1efe9d6a 100644
(file)
--- a/
drivers/char/s3c2410-rtc.c
+++ b/
drivers/char/s3c2410-rtc.c
@@
-564,6
+564,7
@@
static int s3c2410_rtc_resume(struct device *dev, u32 level)
static struct device_driver s3c2410_rtcdrv = {
.name = "s3c2410-rtc",
+ .owner = THIS_MODULE,
.bus = &platform_bus_type,
.probe = s3c2410_rtc_probe,
.remove = s3c2410_rtc_remove,