vt8623fb.c (14e77332e74603efab8347c89d3cda447c3b97c9) vt8623fb.c (0ba2fa8cbd29278a180ac90bd66b2c0bbdeacc89)
1/*
2 * linux/drivers/video/vt8623fb.c - fbdev driver for
3 * integrated graphic core in VIA VT8623 [CLE266] chipset
4 *
5 * Copyright (c) 2006-2007 Ondrej Zajicek <santiago@crfreenet.org>
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 for

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

915
916/* Driver Initialisation */
917
918static int __init vt8623fb_init(void)
919{
920
921#ifndef MODULE
922 char *option = NULL;
1/*
2 * linux/drivers/video/vt8623fb.c - fbdev driver for
3 * integrated graphic core in VIA VT8623 [CLE266] chipset
4 *
5 * Copyright (c) 2006-2007 Ondrej Zajicek <santiago@crfreenet.org>
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 for

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

915
916/* Driver Initialisation */
917
918static int __init vt8623fb_init(void)
919{
920
921#ifndef MODULE
922 char *option = NULL;
923#endif
923
924
925 if (fb_modesetting_disabled("vt8623fb"))
926 return -ENODEV;
927
928#ifndef MODULE
924 if (fb_get_options("vt8623fb", &option))
925 return -ENODEV;
926
927 if (option && *option)
928 mode_option = option;
929#endif
930
931 pr_debug("vt8623fb: initializing\n");
932 return pci_register_driver(&vt8623fb_pci_driver);
933}
934
935/* ------------------------------------------------------------------------- */
936
937/* Modularization */
938
939module_init(vt8623fb_init);
940module_exit(vt8623fb_cleanup);
929 if (fb_get_options("vt8623fb", &option))
930 return -ENODEV;
931
932 if (option && *option)
933 mode_option = option;
934#endif
935
936 pr_debug("vt8623fb: initializing\n");
937 return pci_register_driver(&vt8623fb_pci_driver);
938}
939
940/* ------------------------------------------------------------------------- */
941
942/* Modularization */
943
944module_init(vt8623fb_init);
945module_exit(vt8623fb_cleanup);