sunxvr2500.c (002c6ca75289a4ac4f6738213dd2d258704886e4) sunxvr2500.c (0ba2fa8cbd29278a180ac90bd66b2c0bbdeacc89)
1/* sunxvr2500.c: Sun 3DLABS XVR-2500 et al. fb driver for sparc64 systems
2 *
3 * License: GPL
4 *
5 * Copyright (C) 2007 David S. Miller (davem@davemloft.net)
6 */
7
8#include <linux/aperture.h>

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

242 },
243 .name = "s3d",
244 .id_table = s3d_pci_table,
245 .probe = s3d_pci_register,
246};
247
248static int __init s3d_init(void)
249{
1/* sunxvr2500.c: Sun 3DLABS XVR-2500 et al. fb driver for sparc64 systems
2 *
3 * License: GPL
4 *
5 * Copyright (C) 2007 David S. Miller (davem@davemloft.net)
6 */
7
8#include <linux/aperture.h>

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

242 },
243 .name = "s3d",
244 .id_table = s3d_pci_table,
245 .probe = s3d_pci_register,
246};
247
248static int __init s3d_init(void)
249{
250 if (fb_modesetting_disabled("s3d"))
251 return -ENODEV;
252
250 if (fb_get_options("s3d", NULL))
251 return -ENODEV;
252
253 return pci_register_driver(&s3d_driver);
254}
255device_initcall(s3d_init);
253 if (fb_get_options("s3d", NULL))
254 return -ENODEV;
255
256 return pci_register_driver(&s3d_driver);
257}
258device_initcall(s3d_init);