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

« back to all changes in this revision

Viewing changes to drivers/video/vga16fb.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:
152
152
}
153
153
 
154
154
/* Set the Enable Set/Reset Register and return its old value.  
155
 
   The code here always uses value 0xf for thsi register. */
 
155
   The code here always uses value 0xf for this register. */
156
156
static inline int setsr(int sr)
157
157
{
158
158
        int oldsr;
1265
1265
 
1266
1266
static void vga16fb_destroy(struct fb_info *info)
1267
1267
{
 
1268
        struct platform_device *dev = container_of(info->device, struct platform_device, dev);
1268
1269
        iounmap(info->screen_base);
1269
1270
        fb_dealloc_cmap(&info->cmap);
1270
1271
        /* XXX unshare VGA regions */
 
1272
        platform_set_drvdata(dev, NULL);
1271
1273
        framebuffer_release(info);
1272
1274
}
1273
1275