diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-21 14:37:57 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-21 14:37:57 -0500 |
commit | ad2e6329666650d9cafcae9ef53fbe09ea759ae2 (patch) | |
tree | b23eb258fa609be246bb44cd9b33ff86d8142ca7 /drivers/video/cyber2000fb.c | |
parent | 1ee0a224bc9aad1de496c795f96bc6ba2c394811 (diff) | |
parent | b810075002c9f25a6da83cecda39d789000a04a9 (diff) |
Merge tag 'fixes-for-v3.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-linus
Felipe writes:
usb: fixes for v3.8-rc5
Finally we have a build fix for fsl-mxc-udc UDC driver.
We also have a fix for ep0 maxburst setting on DWC3
which could confuse the HW if we tell it we had way
too many streams on that endpoint when it _has_ to be
only one.
cppi_dma support for MUSB got a fix when running as a
module. By dropping the wrong __init annotation, the
function will be available even when we're modules and
we're done with .init.text section.
Last, but not least, we have a fix on FunctionFS which
was causing a bug on our option parsing algorithm.
Diffstat (limited to 'drivers/video/cyber2000fb.c')
-rw-r--r-- | drivers/video/cyber2000fb.c | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/drivers/video/cyber2000fb.c b/drivers/video/cyber2000fb.c index e40125cb313e..57886787ead0 100644 --- a/drivers/video/cyber2000fb.c +++ b/drivers/video/cyber2000fb.c | |||
@@ -1230,7 +1230,7 @@ static int cyber2000fb_ddc_getsda(void *data) | |||
1230 | return retval; | 1230 | return retval; |
1231 | } | 1231 | } |
1232 | 1232 | ||
1233 | static int __devinit cyber2000fb_setup_ddc_bus(struct cfb_info *cfb) | 1233 | static int cyber2000fb_setup_ddc_bus(struct cfb_info *cfb) |
1234 | { | 1234 | { |
1235 | strlcpy(cfb->ddc_adapter.name, cfb->fb.fix.id, | 1235 | strlcpy(cfb->ddc_adapter.name, cfb->fb.fix.id, |
1236 | sizeof(cfb->ddc_adapter.name)); | 1236 | sizeof(cfb->ddc_adapter.name)); |
@@ -1305,7 +1305,7 @@ static int cyber2000fb_i2c_getscl(void *data) | |||
1305 | return ret; | 1305 | return ret; |
1306 | } | 1306 | } |
1307 | 1307 | ||
1308 | static int __devinit cyber2000fb_i2c_register(struct cfb_info *cfb) | 1308 | static int cyber2000fb_i2c_register(struct cfb_info *cfb) |
1309 | { | 1309 | { |
1310 | strlcpy(cfb->i2c_adapter.name, cfb->fb.fix.id, | 1310 | strlcpy(cfb->i2c_adapter.name, cfb->fb.fix.id, |
1311 | sizeof(cfb->i2c_adapter.name)); | 1311 | sizeof(cfb->i2c_adapter.name)); |
@@ -1336,7 +1336,7 @@ static void cyber2000fb_i2c_unregister(struct cfb_info *cfb) | |||
1336 | * These parameters give | 1336 | * These parameters give |
1337 | * 640x480, hsync 31.5kHz, vsync 60Hz | 1337 | * 640x480, hsync 31.5kHz, vsync 60Hz |
1338 | */ | 1338 | */ |
1339 | static struct fb_videomode __devinitdata cyber2000fb_default_mode = { | 1339 | static struct fb_videomode cyber2000fb_default_mode = { |
1340 | .refresh = 60, | 1340 | .refresh = 60, |
1341 | .xres = 640, | 1341 | .xres = 640, |
1342 | .yres = 480, | 1342 | .yres = 480, |
@@ -1404,8 +1404,7 @@ static void cyberpro_init_hw(struct cfb_info *cfb) | |||
1404 | } | 1404 | } |
1405 | } | 1405 | } |
1406 | 1406 | ||
1407 | static struct cfb_info __devinit *cyberpro_alloc_fb_info(unsigned int id, | 1407 | static struct cfb_info *cyberpro_alloc_fb_info(unsigned int id, char *name) |
1408 | char *name) | ||
1409 | { | 1408 | { |
1410 | struct cfb_info *cfb; | 1409 | struct cfb_info *cfb; |
1411 | 1410 | ||
@@ -1524,7 +1523,7 @@ static int cyber2000fb_setup(char *options) | |||
1524 | * - memory mapped access to the registers | 1523 | * - memory mapped access to the registers |
1525 | * - initialised mem_ctl1 and mem_ctl2 appropriately. | 1524 | * - initialised mem_ctl1 and mem_ctl2 appropriately. |
1526 | */ | 1525 | */ |
1527 | static int __devinit cyberpro_common_probe(struct cfb_info *cfb) | 1526 | static int cyberpro_common_probe(struct cfb_info *cfb) |
1528 | { | 1527 | { |
1529 | u_long smem_size; | 1528 | u_long smem_size; |
1530 | u_int h_sync, v_sync; | 1529 | u_int h_sync, v_sync; |
@@ -1615,7 +1614,7 @@ failed: | |||
1615 | return err; | 1614 | return err; |
1616 | } | 1615 | } |
1617 | 1616 | ||
1618 | static void __devexit cyberpro_common_remove(struct cfb_info *cfb) | 1617 | static void cyberpro_common_remove(struct cfb_info *cfb) |
1619 | { | 1618 | { |
1620 | unregister_framebuffer(&cfb->fb); | 1619 | unregister_framebuffer(&cfb->fb); |
1621 | #ifdef CONFIG_FB_CYBER2000_DDC | 1620 | #ifdef CONFIG_FB_CYBER2000_DDC |
@@ -1646,7 +1645,7 @@ static void cyberpro_common_resume(struct cfb_info *cfb) | |||
1646 | 1645 | ||
1647 | #include <mach/framebuffer.h> | 1646 | #include <mach/framebuffer.h> |
1648 | 1647 | ||
1649 | static int __devinit cyberpro_vl_probe(void) | 1648 | static int cyberpro_vl_probe(void) |
1650 | { | 1649 | { |
1651 | struct cfb_info *cfb; | 1650 | struct cfb_info *cfb; |
1652 | int err = -ENOMEM; | 1651 | int err = -ENOMEM; |
@@ -1780,8 +1779,8 @@ static int cyberpro_pci_enable_mmio(struct cfb_info *cfb) | |||
1780 | return 0; | 1779 | return 0; |
1781 | } | 1780 | } |
1782 | 1781 | ||
1783 | static int __devinit | 1782 | static int cyberpro_pci_probe(struct pci_dev *dev, |
1784 | cyberpro_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) | 1783 | const struct pci_device_id *id) |
1785 | { | 1784 | { |
1786 | struct cfb_info *cfb; | 1785 | struct cfb_info *cfb; |
1787 | char name[16]; | 1786 | char name[16]; |
@@ -1863,7 +1862,7 @@ failed_release: | |||
1863 | return err; | 1862 | return err; |
1864 | } | 1863 | } |
1865 | 1864 | ||
1866 | static void __devexit cyberpro_pci_remove(struct pci_dev *dev) | 1865 | static void cyberpro_pci_remove(struct pci_dev *dev) |
1867 | { | 1866 | { |
1868 | struct cfb_info *cfb = pci_get_drvdata(dev); | 1867 | struct cfb_info *cfb = pci_get_drvdata(dev); |
1869 | 1868 | ||
@@ -1923,7 +1922,7 @@ MODULE_DEVICE_TABLE(pci, cyberpro_pci_table); | |||
1923 | static struct pci_driver cyberpro_driver = { | 1922 | static struct pci_driver cyberpro_driver = { |
1924 | .name = "CyberPro", | 1923 | .name = "CyberPro", |
1925 | .probe = cyberpro_pci_probe, | 1924 | .probe = cyberpro_pci_probe, |
1926 | .remove = __devexit_p(cyberpro_pci_remove), | 1925 | .remove = cyberpro_pci_remove, |
1927 | .suspend = cyberpro_pci_suspend, | 1926 | .suspend = cyberpro_pci_suspend, |
1928 | .resume = cyberpro_pci_resume, | 1927 | .resume = cyberpro_pci_resume, |
1929 | .id_table = cyberpro_pci_table | 1928 | .id_table = cyberpro_pci_table |