[PATCH 02/13] FB: sa1100: add .owner initializer to driver structure
Russell King - ARM Linux
linux at arm.linux.org.uk
Sat Feb 4 04:38:45 EST 2012
Annotate the driver structure with the .owner field, to allow the
module to be associated with the driver.
Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
---
drivers/video/sa1100fb.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/video/sa1100fb.c b/drivers/video/sa1100fb.c
index 2cc268c..bac9d4f 100644
--- a/drivers/video/sa1100fb.c
+++ b/drivers/video/sa1100fb.c
@@ -1505,6 +1505,7 @@ static struct platform_driver sa1100fb_driver = {
.resume = sa1100fb_resume,
.driver = {
.name = "sa11x0-fb",
+ .owner = THIS_MODULE,
},
};
--
1.7.4.4
More information about the linux-arm-kernel
mailing list