[PATCH 03/20] ARM: sa1111: add sa1111 core driver .owner initializer

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


Add an initializer for the struct device_driver .owner member.

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

diff --git a/arch/arm/common/sa1111.c b/arch/arm/common/sa1111.c
index f0d9faa..957f6e3 100644
--- a/arch/arm/common/sa1111.c
+++ b/arch/arm/common/sa1111.c
@@ -1064,6 +1064,7 @@ static struct platform_driver sa1111_device_driver = {
 	.resume		= sa1111_resume,
 	.driver		= {
 		.name	= "sa1111",
+		.owner	= THIS_MODULE,
 	},
 };
 
-- 
1.7.4.4




More information about the linux-arm-kernel mailing list