goldfishfb.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | goldfishfb.c (31ff6b2a42979bb223def9609093ff1d8dcfb67e) |
---|---|
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 free_irq(fb->irq, fb); 300 301 dma_free_coherent(&pdev->dev, framesize, (void *)fb->fb.screen_base, 302 fb->fb.fix.smem_start); 303 iounmap(fb->reg_base); 304 return 0; 305} 306 | 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 free_irq(fb->irq, fb); 300 301 dma_free_coherent(&pdev->dev, framesize, (void *)fb->fb.screen_base, 302 fb->fb.fix.smem_start); 303 iounmap(fb->reg_base); 304 return 0; 305} 306 |
307static const struct of_device_id goldfish_fb_of_match[] = { 308 { .compatible = "google,goldfish-fb", }, 309 {}, 310}; 311MODULE_DEVICE_TABLE(of, goldfish_fb_of_match); |
|
307 308static struct platform_driver goldfish_fb_driver = { 309 .probe = goldfish_fb_probe, 310 .remove = goldfish_fb_remove, 311 .driver = { | 312 313static struct platform_driver goldfish_fb_driver = { 314 .probe = goldfish_fb_probe, 315 .remove = goldfish_fb_remove, 316 .driver = { |
312 .name = "goldfish_fb" | 317 .name = "goldfish_fb", 318 .of_match_table = goldfish_fb_of_match, |
313 } 314}; 315 316module_platform_driver(goldfish_fb_driver); 317 318MODULE_LICENSE("GPL v2"); | 319 } 320}; 321 322module_platform_driver(goldfish_fb_driver); 323 324MODULE_LICENSE("GPL v2"); |