[patch] fbdev: sysfs fix

From: Gerd Knorr
Date: Tue Dec 07 2004 - 10:02:31 EST


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

Signed-off-by: Gerd Knorr <kraxel@xxxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/