tridentfb.c (002c6ca75289a4ac4f6738213dd2d258704886e4) | tridentfb.c (0ba2fa8cbd29278a180ac90bd66b2c0bbdeacc89) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Frame buffer driver for Trident TGUI, Blade and Image series 4 * 5 * Copyright 2001, 2002 - Jani Monoses <jani@iv.ro> 6 * Copyright 2009 Krzysztof Helt <krzysztof.h1@wp.pl> 7 * 8 * CREDITS:(in order of appearance) --- 1797 unchanged lines hidden (view full) --- 1806 return 0; 1807} 1808#endif 1809 1810static int __init tridentfb_init(void) 1811{ 1812#ifndef MODULE 1813 char *option = NULL; | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Frame buffer driver for Trident TGUI, Blade and Image series 4 * 5 * Copyright 2001, 2002 - Jani Monoses <jani@iv.ro> 6 * Copyright 2009 Krzysztof Helt <krzysztof.h1@wp.pl> 7 * 8 * CREDITS:(in order of appearance) --- 1797 unchanged lines hidden (view full) --- 1806 return 0; 1807} 1808#endif 1809 1810static int __init tridentfb_init(void) 1811{ 1812#ifndef MODULE 1813 char *option = NULL; |
1814#endif |
|
1814 | 1815 |
1816 if (fb_modesetting_disabled("tridentfb")) 1817 return -ENODEV; 1818 1819#ifndef MODULE |
|
1815 if (fb_get_options("tridentfb", &option)) 1816 return -ENODEV; 1817 tridentfb_setup(option); 1818#endif 1819 return pci_register_driver(&tridentfb_pci_driver); 1820} 1821 1822static void __exit tridentfb_exit(void) --- 12 unchanged lines hidden --- | 1820 if (fb_get_options("tridentfb", &option)) 1821 return -ENODEV; 1822 tridentfb_setup(option); 1823#endif 1824 return pci_register_driver(&tridentfb_pci_driver); 1825} 1826 1827static void __exit tridentfb_exit(void) --- 12 unchanged lines hidden --- |