[PATCH 08/17] ARM: sa11x0: neponset: add driver .owner initializer

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Feb 3 14:33:50 EST 2012


Ensure that the driver .owner field is properly initialized.

Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
---
 arch/arm/mach-sa1100/neponset.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-sa1100/neponset.c b/arch/arm/mach-sa1100/neponset.c
index 8fcd542..1beaa0e 100644
--- a/arch/arm/mach-sa1100/neponset.c
+++ b/arch/arm/mach-sa1100/neponset.c
@@ -272,6 +272,7 @@ static struct platform_driver neponset_device_driver = {
 	.resume		= neponset_resume,
 	.driver		= {
 		.name	= "neponset",
+		.owner	= THIS_MODULE,
 	},
 };
 
-- 
1.7.4.4




More information about the linux-arm-kernel mailing list