From: Ben Dooks Date: Mon, 10 Oct 2005 00:28:30 +0000 (+0100) Subject: [WATCHDOG] s3c2410 wdt - add .owner field X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=30da9404bcc028385867acf689a615495642bc0f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [WATCHDOG] s3c2410 wdt - add .owner field Initialise the .owner field of the device driver with the module that owns it, for easier tracking of device driver ownership. Signed-off-by: Ben Dooks Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/char/watchdog/s3c2410_wdt.c b/drivers/char/watchdog/s3c2410_wdt.c index e7e20a6d64b0..751cb77b0715 100644 --- a/drivers/char/watchdog/s3c2410_wdt.c +++ b/drivers/char/watchdog/s3c2410_wdt.c @@ -497,6 +497,7 @@ static int s3c2410wdt_resume(struct device *dev) static struct device_driver s3c2410wdt_driver = { + .owner = THIS_MODULE, .name = "s3c2410-wdt", .bus = &platform_bus_type, .probe = s3c2410wdt_probe,