ambakmi.c (b675b3667f6729dcd1036a2a129b35445947f905) | ambakmi.c (9e5ed094c89e55fbf11d2e81d60be98eb12346c0) |
---|---|
1/* 2 * linux/drivers/input/serio/ambakmi.c 3 * 4 * Copyright (C) 2000-2003 Deep Blue Solutions Ltd. 5 * Copyright (C) 2002 Russell King. 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 as published by --- 194 unchanged lines hidden (view full) --- 203 .owner = THIS_MODULE, 204 }, 205 .id_table = amba_kmi_idtable, 206 .probe = amba_kmi_probe, 207 .remove = __devexit_p(amba_kmi_remove), 208 .resume = amba_kmi_resume, 209}; 210 | 1/* 2 * linux/drivers/input/serio/ambakmi.c 3 * 4 * Copyright (C) 2000-2003 Deep Blue Solutions Ltd. 5 * Copyright (C) 2002 Russell King. 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 as published by --- 194 unchanged lines hidden (view full) --- 203 .owner = THIS_MODULE, 204 }, 205 .id_table = amba_kmi_idtable, 206 .probe = amba_kmi_probe, 207 .remove = __devexit_p(amba_kmi_remove), 208 .resume = amba_kmi_resume, 209}; 210 |
211static int __init amba_kmi_init(void) 212{ 213 return amba_driver_register(&ambakmi_driver); 214} | 211module_amba_driver(ambakmi_driver); |
215 | 212 |
216static void __exit amba_kmi_exit(void) 217{ 218 amba_driver_unregister(&ambakmi_driver); 219} 220 221module_init(amba_kmi_init); 222module_exit(amba_kmi_exit); 223 | |
224MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>"); 225MODULE_DESCRIPTION("AMBA KMI controller driver"); 226MODULE_LICENSE("GPL"); | 213MODULE_AUTHOR("Russell King <rmk@arm.linux.org.uk>"); 214MODULE_DESCRIPTION("AMBA KMI controller driver"); 215MODULE_LICENSE("GPL"); |