pm2fb.c (002c6ca75289a4ac4f6738213dd2d258704886e4) | pm2fb.c (0ba2fa8cbd29278a180ac90bd66b2c0bbdeacc89) |
---|---|
1/* 2 * Permedia2 framebuffer driver. 3 * 4 * 2.5/2.6 driver: 5 * Copyright (c) 2003 Jim Hague (jim.hague@acm.org) 6 * 7 * based on 2.4 driver: 8 * Copyright (c) 1998-2000 Ilario Nardinocchi (nardinoc@CS.UniBO.IT) --- 1785 unchanged lines hidden (view full) --- 1794} 1795#endif 1796 1797 1798static int __init pm2fb_init(void) 1799{ 1800#ifndef MODULE 1801 char *option = NULL; | 1/* 2 * Permedia2 framebuffer driver. 3 * 4 * 2.5/2.6 driver: 5 * Copyright (c) 2003 Jim Hague (jim.hague@acm.org) 6 * 7 * based on 2.4 driver: 8 * Copyright (c) 1998-2000 Ilario Nardinocchi (nardinoc@CS.UniBO.IT) --- 1785 unchanged lines hidden (view full) --- 1794} 1795#endif 1796 1797 1798static int __init pm2fb_init(void) 1799{ 1800#ifndef MODULE 1801 char *option = NULL; |
1802#endif |
|
1802 | 1803 |
1804 if (fb_modesetting_disabled("pm2fb")) 1805 return -ENODEV; 1806 1807#ifndef MODULE |
|
1803 if (fb_get_options("pm2fb", &option)) 1804 return -ENODEV; 1805 pm2fb_setup(option); 1806#endif 1807 1808 return pci_register_driver(&pm2fb_driver); 1809} 1810 --- 36 unchanged lines hidden --- | 1808 if (fb_get_options("pm2fb", &option)) 1809 return -ENODEV; 1810 pm2fb_setup(option); 1811#endif 1812 1813 return pci_register_driver(&pm2fb_driver); 1814} 1815 --- 36 unchanged lines hidden --- |