gxt4500.c (002c6ca75289a4ac4f6738213dd2d258704886e4) gxt4500.c (0ba2fa8cbd29278a180ac90bd66b2c0bbdeacc89)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Frame buffer device for IBM GXT4500P/6500P and GXT4000P/6000P
4 * display adaptors
5 *
6 * Copyright (C) 2006 Paul Mackerras, IBM Corp. <paulus@samba.org>
7 */
8

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

774 .name = "gxt4500",
775 .id_table = gxt4500_pci_tbl,
776 .probe = gxt4500_probe,
777 .remove = gxt4500_remove,
778};
779
780static int gxt4500_init(void)
781{
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Frame buffer device for IBM GXT4500P/6500P and GXT4000P/6000P
4 * display adaptors
5 *
6 * Copyright (C) 2006 Paul Mackerras, IBM Corp. <paulus@samba.org>
7 */
8

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

774 .name = "gxt4500",
775 .id_table = gxt4500_pci_tbl,
776 .probe = gxt4500_probe,
777 .remove = gxt4500_remove,
778};
779
780static int gxt4500_init(void)
781{
782 if (fb_modesetting_disabled("gxt4500"))
783 return -ENODEV;
784
782#ifndef MODULE
783 if (fb_get_options("gxt4500", &mode_option))
784 return -ENODEV;
785#endif
786
787 return pci_register_driver(&gxt4500_driver);
788}
789module_init(gxt4500_init);

--- 12 unchanged lines hidden ---
785#ifndef MODULE
786 if (fb_get_options("gxt4500", &mode_option))
787 return -ENODEV;
788#endif
789
790 return pci_register_driver(&gxt4500_driver);
791}
792module_init(gxt4500_init);

--- 12 unchanged lines hidden ---