From: Ben Dooks Date: Mon, 10 Oct 2005 09:20:06 +0000 (+0100) Subject: [ARM] 2963/1: S3C2410 - add .owner field to device_driver X-Git-Tag: v2.6.14-rc4~12^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cdfc8f5079fdd18f6cb8097aa4235704d1155ec5;p=linux-2.6-omap-h63xx.git [ARM] 2963/1: S3C2410 - add .owner field to device_driver 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 Signed-off-by: Russell King --- diff --git a/drivers/char/s3c2410-rtc.c b/drivers/char/s3c2410-rtc.c index ed867db550a..e1a90d9a875 100644 --- 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,