summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-14 11:11:03 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-21 12:56:18 +0100
commit4f7e34f8eff0b3dbbd75cc778b0a363bdb29ac18 (patch)
tree25fccdcf283cb7f14308b36ef23d2b9a145fb99b /drivers/video
parentFB: sa1100: avoid section mismatch warnings (diff)
downloadlinux-4f7e34f8eff0b3dbbd75cc778b0a363bdb29ac18.tar.xz
linux-4f7e34f8eff0b3dbbd75cc778b0a363bdb29ac18.zip
FB: sa1100: add .owner initializer to driver structure
Annotate the driver structure with the .owner field, to allow the module to be associated with the driver. Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/sa1100fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/sa1100fb.c b/drivers/video/sa1100fb.c
index 2cc268c0e89a..bac9d4f39da5 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,
},
};