asiliantfb.c (14e77332e74603efab8347c89d3cda447c3b97c9) | asiliantfb.c (0ba2fa8cbd29278a180ac90bd66b2c0bbdeacc89) |
---|---|
1/* 2 * drivers/video/asiliantfb.c 3 * frame buffer driver for Asiliant 69000 chip 4 * Copyright (C) 2001-2003 Saito.K & Jeanne 5 * 6 * from driver/video/chipsfb.c and, 7 * 8 * drivers/video/asiliantfb.c -- frame buffer device for --- 602 unchanged lines hidden (view full) --- 611 .name = "asiliantfb", 612 .id_table = asiliantfb_pci_tbl, 613 .probe = asiliantfb_pci_init, 614 .remove = asiliantfb_remove, 615}; 616 617static int __init asiliantfb_init(void) 618{ | 1/* 2 * drivers/video/asiliantfb.c 3 * frame buffer driver for Asiliant 69000 chip 4 * Copyright (C) 2001-2003 Saito.K & Jeanne 5 * 6 * from driver/video/chipsfb.c and, 7 * 8 * drivers/video/asiliantfb.c -- frame buffer device for --- 602 unchanged lines hidden (view full) --- 611 .name = "asiliantfb", 612 .id_table = asiliantfb_pci_tbl, 613 .probe = asiliantfb_pci_init, 614 .remove = asiliantfb_remove, 615}; 616 617static int __init asiliantfb_init(void) 618{ |
619 if (fb_modesetting_disabled("asiliantfb")) 620 return -ENODEV; 621 |
|
619 if (fb_get_options("asiliantfb", NULL)) 620 return -ENODEV; 621 622 return pci_register_driver(&asiliantfb_driver); 623} 624 625module_init(asiliantfb_init); 626 627static void __exit asiliantfb_exit(void) 628{ 629 pci_unregister_driver(&asiliantfb_driver); 630} 631 632MODULE_LICENSE("GPL"); | 622 if (fb_get_options("asiliantfb", NULL)) 623 return -ENODEV; 624 625 return pci_register_driver(&asiliantfb_driver); 626} 627 628module_init(asiliantfb_init); 629 630static void __exit asiliantfb_exit(void) 631{ 632 pci_unregister_driver(&asiliantfb_driver); 633} 634 635MODULE_LICENSE("GPL"); |