ixp4xx-npe.c (0b458d7b10f83eb34b84957e6cf47cee2a97bc49) | ixp4xx-npe.c (e00797f2e05b7f3758bb96e6248aff8d95999cec) |
---|---|
1/* 2 * Intel IXP4xx Network Processor Engine driver for Linux 3 * 4 * Copyright (C) 2007 Krzysztof Halasa <khc@pm.waw.pl> 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of version 2 of the GNU General Public License 8 * as published by the Free Software Foundation. --- 715 unchanged lines hidden (view full) --- 724 for (i = 0; i < NPE_COUNT; i++) 725 if (npe_tab[i].regs) { 726 npe_reset(&npe_tab[i]); 727 } 728 729 return 0; 730} 731 | 1/* 2 * Intel IXP4xx Network Processor Engine driver for Linux 3 * 4 * Copyright (C) 2007 Krzysztof Halasa <khc@pm.waw.pl> 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of version 2 of the GNU General Public License 8 * as published by the Free Software Foundation. --- 715 unchanged lines hidden (view full) --- 724 for (i = 0; i < NPE_COUNT; i++) 725 if (npe_tab[i].regs) { 726 npe_reset(&npe_tab[i]); 727 } 728 729 return 0; 730} 731 |
732static const struct of_device_id ixp4xx_npe_of_match[] = { 733 { 734 .compatible = "intel,ixp4xx-network-processing-engine", 735 }, 736 {}, 737}; 738 |
|
732static struct platform_driver ixp4xx_npe_driver = { 733 .driver = { 734 .name = "ixp4xx-npe", | 739static struct platform_driver ixp4xx_npe_driver = { 740 .driver = { 741 .name = "ixp4xx-npe", |
742 .of_match_table = of_match_ptr(ixp4xx_npe_of_match), |
|
735 }, 736 .probe = ixp4xx_npe_probe, 737 .remove = ixp4xx_npe_remove, 738}; 739module_platform_driver(ixp4xx_npe_driver); 740 741MODULE_AUTHOR("Krzysztof Halasa"); 742MODULE_LICENSE("GPL v2"); --- 12 unchanged lines hidden --- | 743 }, 744 .probe = ixp4xx_npe_probe, 745 .remove = ixp4xx_npe_remove, 746}; 747module_platform_driver(ixp4xx_npe_driver); 748 749MODULE_AUTHOR("Krzysztof Halasa"); 750MODULE_LICENSE("GPL v2"); --- 12 unchanged lines hidden --- |