public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gerd Knorr <kraxel@bytesex.org>
To: Andrew Morton <akpm@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [patch] fbdev: sysfs fix
Date: Tue, 7 Dec 2004 15:36:06 +0100	[thread overview]
Message-ID: <20041207143606.GA23570@bytesex> (raw)

Make sure the fbdev sysfs class is registered before all drivers,
otherwise some symlinks are missing.

Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
---
 drivers/video/fbmem.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-2004-11-23/drivers/video/fbmem.c
===================================================================
--- linux-2004-11-23.orig/drivers/video/fbmem.c	2004-11-26 16:31:37.110665860 +0100
+++ linux-2004-11-23/drivers/video/fbmem.c	2004-11-26 17:41:14.112220692 +0100
@@ -1165,7 +1165,7 @@ fbmem_init(void)
 	}
 	return 0;
 }
-module_init(fbmem_init);
+subsys_initcall(fbmem_init);
 
 static char *video_options[FB_MAX];
 static int ofonly;

-- 
#define printk(args...) fprintf(stderr, ## args)

                 reply	other threads:[~2004-12-07 15:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20041207143606.GA23570@bytesex \
    --to=kraxel@bytesex.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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