mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
[PATCH] s3c2410fb: initialise device_driver .owner
Initialise the .owner field, so that if the driver is built as a module, the system has a link to the owner Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
8fb6567e34
commit
2726bff344
1 changed files with 1 additions and 0 deletions
|
@ -884,6 +884,7 @@ static int s3c2410fb_resume(struct device *dev)
|
||||||
|
|
||||||
static struct device_driver s3c2410fb_driver = {
|
static struct device_driver s3c2410fb_driver = {
|
||||||
.name = "s3c2410-lcd",
|
.name = "s3c2410-lcd",
|
||||||
|
.owner = THIS_MODULE,
|
||||||
.bus = &platform_bus_type,
|
.bus = &platform_bus_type,
|
||||||
.probe = s3c2410fb_probe,
|
.probe = s3c2410fb_probe,
|
||||||
.suspend = s3c2410fb_suspend,
|
.suspend = s3c2410fb_suspend,
|
||||||
|
|
Loading…
Reference in a new issue