pm3fb.c (14e77332e74603efab8347c89d3cda447c3b97c9) | pm3fb.c (0ba2fa8cbd29278a180ac90bd66b2c0bbdeacc89) |
---|---|
1/* 2 * linux/drivers/video/pm3fb.c -- 3DLabs Permedia3 frame buffer device 3 * 4 * Copyright (C) 2001 Romain Dolbeau <romain@dolbeau.org>. 5 * 6 * Ported to 2.6 kernel on 1 May 2007 by Krzysztof Helt <krzysztof.h1@wp.pl> 7 * based on pm2fb.c 8 * --- 1526 unchanged lines hidden (view full) --- 1535 1536static int __init pm3fb_init(void) 1537{ 1538 /* 1539 * For kernel boot options (in 'video=pm3fb:<options>' format) 1540 */ 1541#ifndef MODULE 1542 char *option = NULL; | 1/* 2 * linux/drivers/video/pm3fb.c -- 3DLabs Permedia3 frame buffer device 3 * 4 * Copyright (C) 2001 Romain Dolbeau <romain@dolbeau.org>. 5 * 6 * Ported to 2.6 kernel on 1 May 2007 by Krzysztof Helt <krzysztof.h1@wp.pl> 7 * based on pm2fb.c 8 * --- 1526 unchanged lines hidden (view full) --- 1535 1536static int __init pm3fb_init(void) 1537{ 1538 /* 1539 * For kernel boot options (in 'video=pm3fb:<options>' format) 1540 */ 1541#ifndef MODULE 1542 char *option = NULL; |
1543#endif |
|
1543 | 1544 |
1545 if (fb_modesetting_disabled("pm3fb")) 1546 return -ENODEV; 1547 1548#ifndef MODULE |
|
1544 if (fb_get_options("pm3fb", &option)) 1545 return -ENODEV; 1546 pm3fb_setup(option); 1547#endif 1548 1549 return pci_register_driver(&pm3fb_driver); 1550} 1551 --- 22 unchanged lines hidden --- | 1549 if (fb_get_options("pm3fb", &option)) 1550 return -ENODEV; 1551 pm3fb_setup(option); 1552#endif 1553 1554 return pci_register_driver(&pm3fb_driver); 1555} 1556 --- 22 unchanged lines hidden --- |