Linux Framebuffer Layer development
 help / color / mirror / Atom feed
From: Ben Dooks <ben@fluff.org.uk>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: [PATCH] s3c2410fb - initialise device_driver .owner
Date: Mon, 10 Oct 2005 02:05:22 +0100	[thread overview]
Message-ID: <20051010010522.GA28414@home.fluff.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 156 bytes --]

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>

[-- Attachment #2: s3c2410-fb-add-driver-owner.patch --]
[-- Type: text/plain, Size: 511 bytes --]

diff -urN -X ../dontdiff linux-2.6.13-simtec3a/drivers/video/s3c2410fb.c linux-2.6.13-simtec3b/drivers/video/s3c2410fb.c
--- linux-2.6.13-simtec3a/drivers/video/s3c2410fb.c	2005-09-26 18:03:17.000000000 +0100
+++ linux-2.6.13-simtec3b/drivers/video/s3c2410fb.c	2005-10-10 01:46:21.000000000 +0100
@@ -889,6 +889,7 @@
 
 static struct device_driver s3c2410fb_driver = {
 	.name		= "s3c2410-lcd",
+	.owner		= THIS_MODULE,
 	.bus		= &platform_bus_type,
 	.probe		= s3c2410fb_probe,
 	.suspend	= s3c2410fb_suspend,

             reply	other threads:[~2005-10-10  1:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-10  1:05 Ben Dooks [this message]
2005-10-10  8:23 ` [PATCH] s3c2410fb - initialise device_driver .owner Antonino A. Daplas
2005-10-10  9:29   ` Ben Dooks

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051010010522.GA28414@home.fluff.org \
    --to=ben@fluff.org.uk \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox