* [patch] fbdev: sysfs fix
@ 2004-12-07 14:36 Gerd Knorr
0 siblings, 0 replies; 2+ messages in thread
From: Gerd Knorr @ 2004-12-07 14:36 UTC (permalink / raw)
To: Andrew Morton, Linux Kernel Mailing List
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [patch] fbdev: sysfs fix
@ 2004-12-07 14:36 Gerd Knorr
0 siblings, 0 replies; 2+ messages in thread
From: Gerd Knorr @ 2004-12-07 14:36 UTC (permalink / raw)
To: Andrew Morton, Linux Kernel Mailing List
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)
-
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-07 16:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-07 14:36 [patch] fbdev: sysfs fix Gerd Knorr
-- strict thread matches above, loose matches on Subject: below --
2004-12-07 14:36 Gerd Knorr
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.