spear-keyboard.c (94bd217e2d683719ab21a4ac117d8a1b91cbedc9) | spear-keyboard.c (5146c84f87c8aa3d115cea0d77ed3553df426752) |
---|---|
1/* 2 * SPEAr Keyboard Driver 3 * Based on omap-keypad driver 4 * 5 * Copyright (C) 2010 ST Microelectronics 6 * Rajeev Kumar<rajeev-dlh.kumar@st.com> 7 * 8 * This file is licensed under the terms of the GNU General Public --- 312 unchanged lines hidden (view full) --- 321 .driver = { 322 .name = "keyboard", 323 .owner = THIS_MODULE, 324#ifdef CONFIG_PM 325 .pm = &spear_kbd_pm_ops, 326#endif 327 }, 328}; | 1/* 2 * SPEAr Keyboard Driver 3 * Based on omap-keypad driver 4 * 5 * Copyright (C) 2010 ST Microelectronics 6 * Rajeev Kumar<rajeev-dlh.kumar@st.com> 7 * 8 * This file is licensed under the terms of the GNU General Public --- 312 unchanged lines hidden (view full) --- 321 .driver = { 322 .name = "keyboard", 323 .owner = THIS_MODULE, 324#ifdef CONFIG_PM 325 .pm = &spear_kbd_pm_ops, 326#endif 327 }, 328}; |
329module_platform_driver(spear_kbd_driver); |
|
329 | 330 |
330static int __init spear_kbd_init(void) 331{ 332 return platform_driver_register(&spear_kbd_driver); 333} 334module_init(spear_kbd_init); 335 336static void __exit spear_kbd_exit(void) 337{ 338 platform_driver_unregister(&spear_kbd_driver); 339} 340module_exit(spear_kbd_exit); 341 | |
342MODULE_AUTHOR("Rajeev Kumar"); 343MODULE_DESCRIPTION("SPEAr Keyboard Driver"); 344MODULE_LICENSE("GPL"); | 331MODULE_AUTHOR("Rajeev Kumar"); 332MODULE_DESCRIPTION("SPEAr Keyboard Driver"); 333MODULE_LICENSE("GPL"); |