amd76x_edac.c (806c35f5057a64d3061ee4e2b1023bf6f6d328e2) | amd76x_edac.c (da9bb1d27b21cb24cbb6a2efb5d3c464d357a01e) |
---|---|
1/* 2 * AMD 76x Memory Controller kernel module 3 * (C) 2003 Linux Networx (http://lnxi.com) 4 * This file may be distributed under the terms of the 5 * GNU General Public License. 6 * 7 * Written by Thayne Harbaugh 8 * Based on work by Dan Hollis <goemon at anime dot net> and others. --- 324 unchanged lines hidden (view full) --- 333 334static struct pci_driver amd76x_driver = { 335 .name = BS_MOD_STR, 336 .probe = amd76x_init_one, 337 .remove = __devexit_p(amd76x_remove_one), 338 .id_table = amd76x_pci_tbl, 339}; 340 | 1/* 2 * AMD 76x Memory Controller kernel module 3 * (C) 2003 Linux Networx (http://lnxi.com) 4 * This file may be distributed under the terms of the 5 * GNU General Public License. 6 * 7 * Written by Thayne Harbaugh 8 * Based on work by Dan Hollis <goemon at anime dot net> and others. --- 324 unchanged lines hidden (view full) --- 333 334static struct pci_driver amd76x_driver = { 335 .name = BS_MOD_STR, 336 .probe = amd76x_init_one, 337 .remove = __devexit_p(amd76x_remove_one), 338 .id_table = amd76x_pci_tbl, 339}; 340 |
341int __init amd76x_init(void) | 341static int __init amd76x_init(void) |
342{ 343 return pci_register_driver(&amd76x_driver); 344} 345 346static void __exit amd76x_exit(void) 347{ 348 pci_unregister_driver(&amd76x_driver); 349} 350 351module_init(amd76x_init); 352module_exit(amd76x_exit); 353 354MODULE_LICENSE("GPL"); 355MODULE_AUTHOR("Linux Networx (http://lnxi.com) Thayne Harbaugh"); 356MODULE_DESCRIPTION("MC support for AMD 76x memory controllers"); | 342{ 343 return pci_register_driver(&amd76x_driver); 344} 345 346static void __exit amd76x_exit(void) 347{ 348 pci_unregister_driver(&amd76x_driver); 349} 350 351module_init(amd76x_init); 352module_exit(amd76x_exit); 353 354MODULE_LICENSE("GPL"); 355MODULE_AUTHOR("Linux Networx (http://lnxi.com) Thayne Harbaugh"); 356MODULE_DESCRIPTION("MC support for AMD 76x memory controllers"); |