skeletonfb.c (14e77332e74603efab8347c89d3cda447c3b97c9) skeletonfb.c (0ba2fa8cbd29278a180ac90bd66b2c0bbdeacc89)
1/*
2 * linux/drivers/video/skeletonfb.c -- Skeleton for a frame buffer device
3 *
4 * Modified to new api Jan 2001 by James Simmons (jsimmons@transvirtual.com)
5 *
6 * Created 28 Dec 1997 by Geert Uytterhoeven
7 *
8 *

--- 973 unchanged lines hidden (view full) ---

982static int __init xxxfb_init(void)
983{
984 int ret;
985 /*
986 * For kernel boot options (in 'video=xxxfb:<options>' format)
987 */
988#ifndef MODULE
989 char *option = NULL;
1/*
2 * linux/drivers/video/skeletonfb.c -- Skeleton for a frame buffer device
3 *
4 * Modified to new api Jan 2001 by James Simmons (jsimmons@transvirtual.com)
5 *
6 * Created 28 Dec 1997 by Geert Uytterhoeven
7 *
8 *

--- 973 unchanged lines hidden (view full) ---

982static int __init xxxfb_init(void)
983{
984 int ret;
985 /*
986 * For kernel boot options (in 'video=xxxfb:<options>' format)
987 */
988#ifndef MODULE
989 char *option = NULL;
990#endif
990
991
992 if (fb_modesetting_disabled("xxxfb"))
993 return -ENODEV;
994
995#ifndef MODULE
991 if (fb_get_options("xxxfb", &option))
992 return -ENODEV;
993 xxxfb_setup(option);
994#endif
995 ret = platform_driver_register(&xxxfb_driver);
996
997 if (!ret) {
998 xxxfb_device = platform_device_register_simple("xxxfb", 0,

--- 29 unchanged lines hidden ---
996 if (fb_get_options("xxxfb", &option))
997 return -ENODEV;
998 xxxfb_setup(option);
999#endif
1000 ret = platform_driver_register(&xxxfb_driver);
1001
1002 if (!ret) {
1003 xxxfb_device = platform_device_register_simple("xxxfb", 0,

--- 29 unchanged lines hidden ---