tegra-kbc.c (d4bbf7e7759afc172e2bfbc5c416324590049cdd) | tegra-kbc.c (5146c84f87c8aa3d115cea0d77ed3553df426752) |
---|---|
1/* 2 * Keyboard class input driver for the NVIDIA Tegra SoC internal matrix 3 * keyboard controller 4 * 5 * Copyright (c) 2009-2011, NVIDIA Corporation. 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 --- 788 unchanged lines hidden (view full) --- 797 .probe = tegra_kbc_probe, 798 .remove = __devexit_p(tegra_kbc_remove), 799 .driver = { 800 .name = "tegra-kbc", 801 .owner = THIS_MODULE, 802 .pm = &tegra_kbc_pm_ops, 803 }, 804}; | 1/* 2 * Keyboard class input driver for the NVIDIA Tegra SoC internal matrix 3 * keyboard controller 4 * 5 * Copyright (c) 2009-2011, NVIDIA Corporation. 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 --- 788 unchanged lines hidden (view full) --- 797 .probe = tegra_kbc_probe, 798 .remove = __devexit_p(tegra_kbc_remove), 799 .driver = { 800 .name = "tegra-kbc", 801 .owner = THIS_MODULE, 802 .pm = &tegra_kbc_pm_ops, 803 }, 804}; |
805module_platform_driver(tegra_kbc_driver); |
|
805 | 806 |
806static void __exit tegra_kbc_exit(void) 807{ 808 platform_driver_unregister(&tegra_kbc_driver); 809} 810module_exit(tegra_kbc_exit); 811 812static int __init tegra_kbc_init(void) 813{ 814 return platform_driver_register(&tegra_kbc_driver); 815} 816module_init(tegra_kbc_init); 817 | |
818MODULE_LICENSE("GPL"); 819MODULE_AUTHOR("Rakesh Iyer <riyer@nvidia.com>"); 820MODULE_DESCRIPTION("Tegra matrix keyboard controller driver"); 821MODULE_ALIAS("platform:tegra-kbc"); | 807MODULE_LICENSE("GPL"); 808MODULE_AUTHOR("Rakesh Iyer <riyer@nvidia.com>"); 809MODULE_DESCRIPTION("Tegra matrix keyboard controller driver"); 810MODULE_ALIAS("platform:tegra-kbc"); |