mb862xxfbdrv.c (002c6ca75289a4ac4f6738213dd2d258704886e4) mb862xxfbdrv.c (0ba2fa8cbd29278a180ac90bd66b2c0bbdeacc89)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * drivers/mb862xx/mb862xxfb.c
4 *
5 * Fujitsu Carmine/Coral-P(A)/Lime framebuffer driver
6 *
7 * (C) 2008 Anatolij Gustschin <agust@denx.de>
8 * DENX Software Engineering

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

1176 .remove = mb862xx_pci_remove,
1177};
1178#endif
1179
1180static int mb862xxfb_init(void)
1181{
1182 int ret = -ENODEV;
1183
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * drivers/mb862xx/mb862xxfb.c
4 *
5 * Fujitsu Carmine/Coral-P(A)/Lime framebuffer driver
6 *
7 * (C) 2008 Anatolij Gustschin <agust@denx.de>
8 * DENX Software Engineering

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

1176 .remove = mb862xx_pci_remove,
1177};
1178#endif
1179
1180static int mb862xxfb_init(void)
1181{
1182 int ret = -ENODEV;
1183
1184 if (fb_modesetting_disabled(DRV_NAME))
1185 return -ENODEV;
1186
1184#if defined(CONFIG_FB_MB862XX_LIME)
1185 ret = platform_driver_register(&of_platform_mb862xxfb_driver);
1186#endif
1187#if defined(CONFIG_FB_MB862XX_PCI_GDC)
1188 ret = pci_register_driver(&mb862xxfb_pci_driver);
1189#endif
1190 return ret;
1191}

--- 17 unchanged lines hidden ---
1187#if defined(CONFIG_FB_MB862XX_LIME)
1188 ret = platform_driver_register(&of_platform_mb862xxfb_driver);
1189#endif
1190#if defined(CONFIG_FB_MB862XX_PCI_GDC)
1191 ret = pci_register_driver(&mb862xxfb_pci_driver);
1192#endif
1193 return ret;
1194}

--- 17 unchanged lines hidden ---