fbdev.c (14e77332e74603efab8347c89d3cda447c3b97c9) fbdev.c (0ba2fa8cbd29278a180ac90bd66b2c0bbdeacc89)
1/*
2 * linux/drivers/video/kyro/fbdev.c
3 *
4 * Copyright (C) 2002 STMicroelectronics
5 * Copyright (C) 2003, 2004 Paul Mundt
6 *
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file COPYING in the main directory of this archive

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

784 unregister_framebuffer(info);
785 framebuffer_release(info);
786}
787
788static int __init kyrofb_init(void)
789{
790#ifndef MODULE
791 char *option = NULL;
1/*
2 * linux/drivers/video/kyro/fbdev.c
3 *
4 * Copyright (C) 2002 STMicroelectronics
5 * Copyright (C) 2003, 2004 Paul Mundt
6 *
7 * This file is subject to the terms and conditions of the GNU General Public
8 * License. See the file COPYING in the main directory of this archive

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

784 unregister_framebuffer(info);
785 framebuffer_release(info);
786}
787
788static int __init kyrofb_init(void)
789{
790#ifndef MODULE
791 char *option = NULL;
792#endif
792
793
794 if (fb_modesetting_disabled("kyrofb"))
795 return -ENODEV;
796
797#ifndef MODULE
793 if (fb_get_options("kyrofb", &option))
794 return -ENODEV;
795 kyrofb_setup(option);
796#endif
797 return pci_register_driver(&kyrofb_pci_driver);
798}
799
800static void __exit kyrofb_exit(void)

--- 12 unchanged lines hidden ---
798 if (fb_get_options("kyrofb", &option))
799 return -ENODEV;
800 kyrofb_setup(option);
801#endif
802 return pci_register_driver(&kyrofb_pci_driver);
803}
804
805static void __exit kyrofb_exit(void)

--- 12 unchanged lines hidden ---