* [PATCH] video/mx3fb: set .owner to prevent module unloading while being used
@ 2012-10-05 9:20 Uwe Kleine-König
2012-10-10 12:35 ` Florian Tobias Schandinat
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2012-10-05 9:20 UTC (permalink / raw)
To: linux-fbdev
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
drivers/video/mx3fb.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c
index d738108..ce1d452 100644
--- a/drivers/video/mx3fb.c
+++ b/drivers/video/mx3fb.c
@@ -1568,7 +1568,8 @@ static int mx3fb_remove(struct platform_device *dev)
static struct platform_driver mx3fb_driver = {
.driver = {
- .name = MX3FB_NAME,
+ .name = MX3FB_NAME,
+ .owner = THIS_MODULE,
},
.probe = mx3fb_probe,
.remove = mx3fb_remove,
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] video/mx3fb: set .owner to prevent module unloading while being used
2012-10-05 9:20 [PATCH] video/mx3fb: set .owner to prevent module unloading while being used Uwe Kleine-König
@ 2012-10-10 12:35 ` Florian Tobias Schandinat
0 siblings, 0 replies; 2+ messages in thread
From: Florian Tobias Schandinat @ 2012-10-10 12:35 UTC (permalink / raw)
To: linux-fbdev
On 10/05/2012 09:20 AM, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Applied.
Thanks,
Florian Tobias Schandinat
> ---
> drivers/video/mx3fb.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c
> index d738108..ce1d452 100644
> --- a/drivers/video/mx3fb.c
> +++ b/drivers/video/mx3fb.c
> @@ -1568,7 +1568,8 @@ static int mx3fb_remove(struct platform_device *dev)
>
> static struct platform_driver mx3fb_driver = {
> .driver = {
> - .name = MX3FB_NAME,
> + .name = MX3FB_NAME,
> + .owner = THIS_MODULE,
> },
> .probe = mx3fb_probe,
> .remove = mx3fb_remove,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-10 12:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-05 9:20 [PATCH] video/mx3fb: set .owner to prevent module unloading while being used Uwe Kleine-König
2012-10-10 12:35 ` Florian Tobias Schandinat
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.