fbdev: sysfs fix

Started by Gerd Knorr on Dec 7, 2004

DORMANTno replies

open the first message on its own page

Message details and related content
Make sure the fbdev sysfs class is registered before all drivers,
otherwise some symlinks are missing.

Signed-off-by: Gerd Knorr <redacted>
---
 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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help