goldfishfb.c (ace6033ec5c356615eaa3582fb1946e9eaff6662) goldfishfb.c (5958fde72d04e7b8c6de3669d1f794a90997e3eb)
1/*
2 * Copyright (C) 2007 Google, Inc.
3 * Copyright (C) 2012 Intel, Inc.
4 *
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
8 *

--- 290 unchanged lines hidden (view full) ---

299
300 framesize = fb->fb.var.xres_virtual * fb->fb.var.yres_virtual * 2;
301 unregister_framebuffer(&fb->fb);
302 free_irq(fb->irq, fb);
303
304 dma_free_coherent(&pdev->dev, framesize, (void *)fb->fb.screen_base,
305 fb->fb.fix.smem_start);
306 iounmap(fb->reg_base);
1/*
2 * Copyright (C) 2007 Google, Inc.
3 * Copyright (C) 2012 Intel, Inc.
4 *
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
8 *

--- 290 unchanged lines hidden (view full) ---

299
300 framesize = fb->fb.var.xres_virtual * fb->fb.var.yres_virtual * 2;
301 unregister_framebuffer(&fb->fb);
302 free_irq(fb->irq, fb);
303
304 dma_free_coherent(&pdev->dev, framesize, (void *)fb->fb.screen_base,
305 fb->fb.fix.smem_start);
306 iounmap(fb->reg_base);
307 kfree(fb);
307 return 0;
308}
309
310static const struct of_device_id goldfish_fb_of_match[] = {
311 { .compatible = "google,goldfish-fb", },
312 {},
313};
314MODULE_DEVICE_TABLE(of, goldfish_fb_of_match);

--- 20 unchanged lines hidden ---
308 return 0;
309}
310
311static const struct of_device_id goldfish_fb_of_match[] = {
312 { .compatible = "google,goldfish-fb", },
313 {},
314};
315MODULE_DEVICE_TABLE(of, goldfish_fb_of_match);

--- 20 unchanged lines hidden ---