~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/video/da8xx-fb.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
763
763
 
764
764
        /*
765
765
         * Set flag to 0 and wait for isr to set to 1. It would seem there is a
766
 
         * race condition here where the ISR could have occured just before or
 
766
         * race condition here where the ISR could have occurred just before or
767
767
         * just after this set. But since we are just coarsely waiting for
768
768
         * a frame to complete then that's OK. i.e. if the frame completed
769
769
         * just before this code executed then we have to wait another full
899
899
        .fb_blank = cfb_blank,
900
900
};
901
901
 
902
 
static int __init fb_probe(struct platform_device *device)
 
902
static int __devinit fb_probe(struct platform_device *device)
903
903
{
904
904
        struct da8xx_lcdc_platform_data *fb_pdata =
905
905
                                                device->dev.platform_data;
1165
1165
 
1166
1166
static struct platform_driver da8xx_fb_driver = {
1167
1167
        .probe = fb_probe,
1168
 
        .remove = fb_remove,
 
1168
        .remove = __devexit_p(fb_remove),
1169
1169
        .suspend = fb_suspend,
1170
1170
        .resume = fb_resume,
1171
1171
        .driver = {