pxa2xx-flash.c (421b759b86eb8a914cbbd11f6d09a74f411762c6) | pxa2xx-flash.c (f99640dee209df4730f35a28b02693affd571ad5) |
---|---|
1/* 2 * Map driver for Intel XScale PXA2xx platforms. 3 * 4 * Author: Nicolas Pitre 5 * Copyright: (C) 2001 MontaVista Software Inc. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 128 unchanged lines hidden (view full) --- 137 .name = "pxa2xx-flash", 138 .owner = THIS_MODULE, 139 }, 140 .probe = pxa2xx_flash_probe, 141 .remove = __devexit_p(pxa2xx_flash_remove), 142 .shutdown = pxa2xx_flash_shutdown, 143}; 144 | 1/* 2 * Map driver for Intel XScale PXA2xx platforms. 3 * 4 * Author: Nicolas Pitre 5 * Copyright: (C) 2001 MontaVista Software Inc. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 128 unchanged lines hidden (view full) --- 137 .name = "pxa2xx-flash", 138 .owner = THIS_MODULE, 139 }, 140 .probe = pxa2xx_flash_probe, 141 .remove = __devexit_p(pxa2xx_flash_remove), 142 .shutdown = pxa2xx_flash_shutdown, 143}; 144 |
145static int __init init_pxa2xx_flash(void) 146{ 147 return platform_driver_register(&pxa2xx_flash_driver); 148} | 145module_platform_driver(pxa2xx_flash_driver); |
149 | 146 |
150static void __exit cleanup_pxa2xx_flash(void) 151{ 152 platform_driver_unregister(&pxa2xx_flash_driver); 153} 154 155module_init(init_pxa2xx_flash); 156module_exit(cleanup_pxa2xx_flash); 157 | |
158MODULE_LICENSE("GPL"); 159MODULE_AUTHOR("Nicolas Pitre <nico@fluxnic.net>"); 160MODULE_DESCRIPTION("MTD map driver for Intel XScale PXA2xx"); | 147MODULE_LICENSE("GPL"); 148MODULE_AUTHOR("Nicolas Pitre <nico@fluxnic.net>"); 149MODULE_DESCRIPTION("MTD map driver for Intel XScale PXA2xx"); |