aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sun/niu.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:24:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:55 -0500
commitf73d12bd298f9614d8600326e9bd1f7871fcde4b (patch)
tree736c67ac825f2576b6d3a703defd1859e13787eb /drivers/net/ethernet/sun/niu.c
parentf48a3c2af87960e3d497b518a3253337a18016db (diff)
net/sun: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/sun/niu.c')
-rw-r--r--drivers/net/ethernet/sun/niu.c90
1 files changed, 45 insertions, 45 deletions
diff --git a/drivers/net/ethernet/sun/niu.c b/drivers/net/ethernet/sun/niu.c
index 275b430aeb75..6023949be3bd 100644
--- a/drivers/net/ethernet/sun/niu.c
+++ b/drivers/net/ethernet/sun/niu.c
@@ -38,7 +38,7 @@
38#define DRV_MODULE_VERSION "1.1" 38#define DRV_MODULE_VERSION "1.1"
39#define DRV_MODULE_RELDATE "Apr 22, 2010" 39#define DRV_MODULE_RELDATE "Apr 22, 2010"
40 40
41static char version[] __devinitdata = 41static char version[] =
42 DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; 42 DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n";
43 43
44MODULE_AUTHOR("David S. Miller (davem@davemloft.net)"); 44MODULE_AUTHOR("David S. Miller (davem@davemloft.net)");
@@ -7977,7 +7977,7 @@ static int niu_set_ldg_sid(struct niu *np, int ldg, int func, int vector)
7977 return 0; 7977 return 0;
7978} 7978}
7979 7979
7980static int __devinit niu_pci_eeprom_read(struct niu *np, u32 addr) 7980static int niu_pci_eeprom_read(struct niu *np, u32 addr)
7981{ 7981{
7982 u64 frame, frame_base = (ESPC_PIO_STAT_READ_START | 7982 u64 frame, frame_base = (ESPC_PIO_STAT_READ_START |
7983 (addr << ESPC_PIO_STAT_ADDR_SHIFT)); 7983 (addr << ESPC_PIO_STAT_ADDR_SHIFT));
@@ -8020,7 +8020,7 @@ static int __devinit niu_pci_eeprom_read(struct niu *np, u32 addr)
8020 return (frame & ESPC_PIO_STAT_DATA) >> ESPC_PIO_STAT_DATA_SHIFT; 8020 return (frame & ESPC_PIO_STAT_DATA) >> ESPC_PIO_STAT_DATA_SHIFT;
8021} 8021}
8022 8022
8023static int __devinit niu_pci_eeprom_read16(struct niu *np, u32 off) 8023static int niu_pci_eeprom_read16(struct niu *np, u32 off)
8024{ 8024{
8025 int err = niu_pci_eeprom_read(np, off); 8025 int err = niu_pci_eeprom_read(np, off);
8026 u16 val; 8026 u16 val;
@@ -8036,7 +8036,7 @@ static int __devinit niu_pci_eeprom_read16(struct niu *np, u32 off)
8036 return val; 8036 return val;
8037} 8037}
8038 8038
8039static int __devinit niu_pci_eeprom_read16_swp(struct niu *np, u32 off) 8039static int niu_pci_eeprom_read16_swp(struct niu *np, u32 off)
8040{ 8040{
8041 int err = niu_pci_eeprom_read(np, off); 8041 int err = niu_pci_eeprom_read(np, off);
8042 u16 val; 8042 u16 val;
@@ -8054,7 +8054,7 @@ static int __devinit niu_pci_eeprom_read16_swp(struct niu *np, u32 off)
8054 return val; 8054 return val;
8055} 8055}
8056 8056
8057static int __devinit niu_pci_vpd_get_propname(struct niu *np, 8057static int niu_pci_vpd_get_propname(struct niu *np,
8058 u32 off, 8058 u32 off,
8059 char *namebuf, 8059 char *namebuf,
8060 int namebuf_len) 8060 int namebuf_len)
@@ -8075,7 +8075,7 @@ static int __devinit niu_pci_vpd_get_propname(struct niu *np,
8075 return i + 1; 8075 return i + 1;
8076} 8076}
8077 8077
8078static void __devinit niu_vpd_parse_version(struct niu *np) 8078static void niu_vpd_parse_version(struct niu *np)
8079{ 8079{
8080 struct niu_vpd *vpd = &np->vpd; 8080 struct niu_vpd *vpd = &np->vpd;
8081 int len = strlen(vpd->version) + 1; 8081 int len = strlen(vpd->version) + 1;
@@ -8102,7 +8102,7 @@ static void __devinit niu_vpd_parse_version(struct niu *np)
8102} 8102}
8103 8103
8104/* ESPC_PIO_EN_ENABLE must be set */ 8104/* ESPC_PIO_EN_ENABLE must be set */
8105static int __devinit niu_pci_vpd_scan_props(struct niu *np, 8105static int niu_pci_vpd_scan_props(struct niu *np,
8106 u32 start, u32 end) 8106 u32 start, u32 end)
8107{ 8107{
8108 unsigned int found_mask = 0; 8108 unsigned int found_mask = 0;
@@ -8189,7 +8189,7 @@ static int __devinit niu_pci_vpd_scan_props(struct niu *np,
8189} 8189}
8190 8190
8191/* ESPC_PIO_EN_ENABLE must be set */ 8191/* ESPC_PIO_EN_ENABLE must be set */
8192static void __devinit niu_pci_vpd_fetch(struct niu *np, u32 start) 8192static void niu_pci_vpd_fetch(struct niu *np, u32 start)
8193{ 8193{
8194 u32 offset; 8194 u32 offset;
8195 int err; 8195 int err;
@@ -8224,7 +8224,7 @@ static void __devinit niu_pci_vpd_fetch(struct niu *np, u32 start)
8224} 8224}
8225 8225
8226/* ESPC_PIO_EN_ENABLE must be set */ 8226/* ESPC_PIO_EN_ENABLE must be set */
8227static u32 __devinit niu_pci_vpd_offset(struct niu *np) 8227static u32 niu_pci_vpd_offset(struct niu *np)
8228{ 8228{
8229 u32 start = 0, end = ESPC_EEPROM_SIZE, ret; 8229 u32 start = 0, end = ESPC_EEPROM_SIZE, ret;
8230 int err; 8230 int err;
@@ -8279,7 +8279,7 @@ static u32 __devinit niu_pci_vpd_offset(struct niu *np)
8279 return 0; 8279 return 0;
8280} 8280}
8281 8281
8282static int __devinit niu_phy_type_prop_decode(struct niu *np, 8282static int niu_phy_type_prop_decode(struct niu *np,
8283 const char *phy_prop) 8283 const char *phy_prop)
8284{ 8284{
8285 if (!strcmp(phy_prop, "mif")) { 8285 if (!strcmp(phy_prop, "mif")) {
@@ -8334,7 +8334,7 @@ static int niu_pci_vpd_get_nports(struct niu *np)
8334 return ports; 8334 return ports;
8335} 8335}
8336 8336
8337static void __devinit niu_pci_vpd_validate(struct niu *np) 8337static void niu_pci_vpd_validate(struct niu *np)
8338{ 8338{
8339 struct net_device *dev = np->dev; 8339 struct net_device *dev = np->dev;
8340 struct niu_vpd *vpd = &np->vpd; 8340 struct niu_vpd *vpd = &np->vpd;
@@ -8380,7 +8380,7 @@ static void __devinit niu_pci_vpd_validate(struct niu *np)
8380 memcpy(dev->dev_addr, dev->perm_addr, dev->addr_len); 8380 memcpy(dev->dev_addr, dev->perm_addr, dev->addr_len);
8381} 8381}
8382 8382
8383static int __devinit niu_pci_probe_sprom(struct niu *np) 8383static int niu_pci_probe_sprom(struct niu *np)
8384{ 8384{
8385 struct net_device *dev = np->dev; 8385 struct net_device *dev = np->dev;
8386 int len, i; 8386 int len, i;
@@ -8538,7 +8538,7 @@ static int __devinit niu_pci_probe_sprom(struct niu *np)
8538 return 0; 8538 return 0;
8539} 8539}
8540 8540
8541static int __devinit niu_get_and_validate_port(struct niu *np) 8541static int niu_get_and_validate_port(struct niu *np)
8542{ 8542{
8543 struct niu_parent *parent = np->parent; 8543 struct niu_parent *parent = np->parent;
8544 8544
@@ -8572,7 +8572,7 @@ static int __devinit niu_get_and_validate_port(struct niu *np)
8572 return 0; 8572 return 0;
8573} 8573}
8574 8574
8575static int __devinit phy_record(struct niu_parent *parent, 8575static int phy_record(struct niu_parent *parent,
8576 struct phy_probe_info *p, 8576 struct phy_probe_info *p,
8577 int dev_id_1, int dev_id_2, u8 phy_port, 8577 int dev_id_1, int dev_id_2, u8 phy_port,
8578 int type) 8578 int type)
@@ -8611,7 +8611,7 @@ static int __devinit phy_record(struct niu_parent *parent,
8611 return 0; 8611 return 0;
8612} 8612}
8613 8613
8614static int __devinit port_has_10g(struct phy_probe_info *p, int port) 8614static int port_has_10g(struct phy_probe_info *p, int port)
8615{ 8615{
8616 int i; 8616 int i;
8617 8617
@@ -8627,7 +8627,7 @@ static int __devinit port_has_10g(struct phy_probe_info *p, int port)
8627 return 0; 8627 return 0;
8628} 8628}
8629 8629
8630static int __devinit count_10g_ports(struct phy_probe_info *p, int *lowest) 8630static int count_10g_ports(struct phy_probe_info *p, int *lowest)
8631{ 8631{
8632 int port, cnt; 8632 int port, cnt;
8633 8633
@@ -8644,7 +8644,7 @@ static int __devinit count_10g_ports(struct phy_probe_info *p, int *lowest)
8644 return cnt; 8644 return cnt;
8645} 8645}
8646 8646
8647static int __devinit count_1g_ports(struct phy_probe_info *p, int *lowest) 8647static int count_1g_ports(struct phy_probe_info *p, int *lowest)
8648{ 8648{
8649 *lowest = 32; 8649 *lowest = 32;
8650 if (p->cur[PHY_TYPE_MII]) 8650 if (p->cur[PHY_TYPE_MII])
@@ -8653,7 +8653,7 @@ static int __devinit count_1g_ports(struct phy_probe_info *p, int *lowest)
8653 return p->cur[PHY_TYPE_MII]; 8653 return p->cur[PHY_TYPE_MII];
8654} 8654}
8655 8655
8656static void __devinit niu_n2_divide_channels(struct niu_parent *parent) 8656static void niu_n2_divide_channels(struct niu_parent *parent)
8657{ 8657{
8658 int num_ports = parent->num_ports; 8658 int num_ports = parent->num_ports;
8659 int i; 8659 int i;
@@ -8669,7 +8669,7 @@ static void __devinit niu_n2_divide_channels(struct niu_parent *parent)
8669 } 8669 }
8670} 8670}
8671 8671
8672static void __devinit niu_divide_channels(struct niu_parent *parent, 8672static void niu_divide_channels(struct niu_parent *parent,
8673 int num_10g, int num_1g) 8673 int num_10g, int num_1g)
8674{ 8674{
8675 int num_ports = parent->num_ports; 8675 int num_ports = parent->num_ports;
@@ -8731,7 +8731,7 @@ static void __devinit niu_divide_channels(struct niu_parent *parent,
8731 } 8731 }
8732} 8732}
8733 8733
8734static void __devinit niu_divide_rdc_groups(struct niu_parent *parent, 8734static void niu_divide_rdc_groups(struct niu_parent *parent,
8735 int num_10g, int num_1g) 8735 int num_10g, int num_1g)
8736{ 8736{
8737 int i, num_ports = parent->num_ports; 8737 int i, num_ports = parent->num_ports;
@@ -8776,7 +8776,7 @@ static void __devinit niu_divide_rdc_groups(struct niu_parent *parent,
8776 } 8776 }
8777} 8777}
8778 8778
8779static int __devinit fill_phy_probe_info(struct niu *np, 8779static int fill_phy_probe_info(struct niu *np,
8780 struct niu_parent *parent, 8780 struct niu_parent *parent,
8781 struct phy_probe_info *info) 8781 struct phy_probe_info *info)
8782{ 8782{
@@ -8819,7 +8819,7 @@ static int __devinit fill_phy_probe_info(struct niu *np,
8819 return err; 8819 return err;
8820} 8820}
8821 8821
8822static int __devinit walk_phys(struct niu *np, struct niu_parent *parent) 8822static int walk_phys(struct niu *np, struct niu_parent *parent)
8823{ 8823{
8824 struct phy_probe_info *info = &parent->phy_probe_info; 8824 struct phy_probe_info *info = &parent->phy_probe_info;
8825 int lowest_10g, lowest_1g; 8825 int lowest_10g, lowest_1g;
@@ -8948,7 +8948,7 @@ unknown_vg_1g_port:
8948 return -EINVAL; 8948 return -EINVAL;
8949} 8949}
8950 8950
8951static int __devinit niu_probe_ports(struct niu *np) 8951static int niu_probe_ports(struct niu *np)
8952{ 8952{
8953 struct niu_parent *parent = np->parent; 8953 struct niu_parent *parent = np->parent;
8954 int err, i; 8954 int err, i;
@@ -8969,7 +8969,7 @@ static int __devinit niu_probe_ports(struct niu *np)
8969 return 0; 8969 return 0;
8970} 8970}
8971 8971
8972static int __devinit niu_classifier_swstate_init(struct niu *np) 8972static int niu_classifier_swstate_init(struct niu *np)
8973{ 8973{
8974 struct niu_classifier *cp = &np->clas; 8974 struct niu_classifier *cp = &np->clas;
8975 8975
@@ -8981,7 +8981,7 @@ static int __devinit niu_classifier_swstate_init(struct niu *np)
8981 return fflp_early_init(np); 8981 return fflp_early_init(np);
8982} 8982}
8983 8983
8984static void __devinit niu_link_config_init(struct niu *np) 8984static void niu_link_config_init(struct niu *np)
8985{ 8985{
8986 struct niu_link_config *lp = &np->link_config; 8986 struct niu_link_config *lp = &np->link_config;
8987 8987
@@ -9006,7 +9006,7 @@ static void __devinit niu_link_config_init(struct niu *np)
9006#endif 9006#endif
9007} 9007}
9008 9008
9009static int __devinit niu_init_mac_ipp_pcs_base(struct niu *np) 9009static int niu_init_mac_ipp_pcs_base(struct niu *np)
9010{ 9010{
9011 switch (np->port) { 9011 switch (np->port) {
9012 case 0: 9012 case 0:
@@ -9045,7 +9045,7 @@ static int __devinit niu_init_mac_ipp_pcs_base(struct niu *np)
9045 return 0; 9045 return 0;
9046} 9046}
9047 9047
9048static void __devinit niu_try_msix(struct niu *np, u8 *ldg_num_map) 9048static void niu_try_msix(struct niu *np, u8 *ldg_num_map)
9049{ 9049{
9050 struct msix_entry msi_vec[NIU_NUM_LDG]; 9050 struct msix_entry msi_vec[NIU_NUM_LDG];
9051 struct niu_parent *parent = np->parent; 9051 struct niu_parent *parent = np->parent;
@@ -9084,7 +9084,7 @@ retry:
9084 np->num_ldg = num_irqs; 9084 np->num_ldg = num_irqs;
9085} 9085}
9086 9086
9087static int __devinit niu_n2_irq_init(struct niu *np, u8 *ldg_num_map) 9087static int niu_n2_irq_init(struct niu *np, u8 *ldg_num_map)
9088{ 9088{
9089#ifdef CONFIG_SPARC64 9089#ifdef CONFIG_SPARC64
9090 struct platform_device *op = np->op; 9090 struct platform_device *op = np->op;
@@ -9108,7 +9108,7 @@ static int __devinit niu_n2_irq_init(struct niu *np, u8 *ldg_num_map)
9108#endif 9108#endif
9109} 9109}
9110 9110
9111static int __devinit niu_ldg_init(struct niu *np) 9111static int niu_ldg_init(struct niu *np)
9112{ 9112{
9113 struct niu_parent *parent = np->parent; 9113 struct niu_parent *parent = np->parent;
9114 u8 ldg_num_map[NIU_NUM_LDG]; 9114 u8 ldg_num_map[NIU_NUM_LDG];
@@ -9225,13 +9225,13 @@ static int __devinit niu_ldg_init(struct niu *np)
9225 return 0; 9225 return 0;
9226} 9226}
9227 9227
9228static void __devexit niu_ldg_free(struct niu *np) 9228static void niu_ldg_free(struct niu *np)
9229{ 9229{
9230 if (np->flags & NIU_FLAGS_MSIX) 9230 if (np->flags & NIU_FLAGS_MSIX)
9231 pci_disable_msix(np->pdev); 9231 pci_disable_msix(np->pdev);
9232} 9232}
9233 9233
9234static int __devinit niu_get_of_props(struct niu *np) 9234static int niu_get_of_props(struct niu *np)
9235{ 9235{
9236#ifdef CONFIG_SPARC64 9236#ifdef CONFIG_SPARC64
9237 struct net_device *dev = np->dev; 9237 struct net_device *dev = np->dev;
@@ -9300,7 +9300,7 @@ static int __devinit niu_get_of_props(struct niu *np)
9300#endif 9300#endif
9301} 9301}
9302 9302
9303static int __devinit niu_get_invariants(struct niu *np) 9303static int niu_get_invariants(struct niu *np)
9304{ 9304{
9305 int err, have_props; 9305 int err, have_props;
9306 u32 offset; 9306 u32 offset;
@@ -9479,7 +9479,7 @@ static struct device_attribute niu_parent_attributes[] = {
9479 {} 9479 {}
9480}; 9480};
9481 9481
9482static struct niu_parent * __devinit niu_new_parent(struct niu *np, 9482static struct niu_parent *niu_new_parent(struct niu *np,
9483 union niu_parent_id *id, 9483 union niu_parent_id *id,
9484 u8 ptype) 9484 u8 ptype)
9485{ 9485{
@@ -9544,7 +9544,7 @@ fail_unregister:
9544 return NULL; 9544 return NULL;
9545} 9545}
9546 9546
9547static struct niu_parent * __devinit niu_get_parent(struct niu *np, 9547static struct niu_parent *niu_get_parent(struct niu *np,
9548 union niu_parent_id *id, 9548 union niu_parent_id *id,
9549 u8 ptype) 9549 u8 ptype)
9550{ 9550{
@@ -9662,7 +9662,7 @@ static const struct niu_ops niu_pci_ops = {
9662 .unmap_single = niu_pci_unmap_single, 9662 .unmap_single = niu_pci_unmap_single,
9663}; 9663};
9664 9664
9665static void __devinit niu_driver_version(void) 9665static void niu_driver_version(void)
9666{ 9666{
9667 static int niu_version_printed; 9667 static int niu_version_printed;
9668 9668
@@ -9670,7 +9670,7 @@ static void __devinit niu_driver_version(void)
9670 pr_info("%s", version); 9670 pr_info("%s", version);
9671} 9671}
9672 9672
9673static struct net_device * __devinit niu_alloc_and_init( 9673static struct net_device *niu_alloc_and_init(
9674 struct device *gen_dev, struct pci_dev *pdev, 9674 struct device *gen_dev, struct pci_dev *pdev,
9675 struct platform_device *op, const struct niu_ops *ops, 9675 struct platform_device *op, const struct niu_ops *ops,
9676 u8 port) 9676 u8 port)
@@ -9714,14 +9714,14 @@ static const struct net_device_ops niu_netdev_ops = {
9714 .ndo_change_mtu = niu_change_mtu, 9714 .ndo_change_mtu = niu_change_mtu,
9715}; 9715};
9716 9716
9717static void __devinit niu_assign_netdev_ops(struct net_device *dev) 9717static void niu_assign_netdev_ops(struct net_device *dev)
9718{ 9718{
9719 dev->netdev_ops = &niu_netdev_ops; 9719 dev->netdev_ops = &niu_netdev_ops;
9720 dev->ethtool_ops = &niu_ethtool_ops; 9720 dev->ethtool_ops = &niu_ethtool_ops;
9721 dev->watchdog_timeo = NIU_TX_TIMEOUT; 9721 dev->watchdog_timeo = NIU_TX_TIMEOUT;
9722} 9722}
9723 9723
9724static void __devinit niu_device_announce(struct niu *np) 9724static void niu_device_announce(struct niu *np)
9725{ 9725{
9726 struct net_device *dev = np->dev; 9726 struct net_device *dev = np->dev;
9727 9727
@@ -9750,13 +9750,13 @@ static void __devinit niu_device_announce(struct niu *np)
9750 } 9750 }
9751} 9751}
9752 9752
9753static void __devinit niu_set_basic_features(struct net_device *dev) 9753static void niu_set_basic_features(struct net_device *dev)
9754{ 9754{
9755 dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXHASH; 9755 dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXHASH;
9756 dev->features |= dev->hw_features | NETIF_F_RXCSUM; 9756 dev->features |= dev->hw_features | NETIF_F_RXCSUM;
9757} 9757}
9758 9758
9759static int __devinit niu_pci_init_one(struct pci_dev *pdev, 9759static int niu_pci_init_one(struct pci_dev *pdev,
9760 const struct pci_device_id *ent) 9760 const struct pci_device_id *ent)
9761{ 9761{
9762 union niu_parent_id parent_id; 9762 union niu_parent_id parent_id;
@@ -9895,7 +9895,7 @@ err_out_disable_pdev:
9895 return err; 9895 return err;
9896} 9896}
9897 9897
9898static void __devexit niu_pci_remove_one(struct pci_dev *pdev) 9898static void niu_pci_remove_one(struct pci_dev *pdev)
9899{ 9899{
9900 struct net_device *dev = pci_get_drvdata(pdev); 9900 struct net_device *dev = pci_get_drvdata(pdev);
9901 9901
@@ -9980,7 +9980,7 @@ static struct pci_driver niu_pci_driver = {
9980 .name = DRV_MODULE_NAME, 9980 .name = DRV_MODULE_NAME,
9981 .id_table = niu_pci_tbl, 9981 .id_table = niu_pci_tbl,
9982 .probe = niu_pci_init_one, 9982 .probe = niu_pci_init_one,
9983 .remove = __devexit_p(niu_pci_remove_one), 9983 .remove = niu_pci_remove_one,
9984 .suspend = niu_suspend, 9984 .suspend = niu_suspend,
9985 .resume = niu_resume, 9985 .resume = niu_resume,
9986}; 9986};
@@ -10044,7 +10044,7 @@ static const struct niu_ops niu_phys_ops = {
10044 .unmap_single = niu_phys_unmap_single, 10044 .unmap_single = niu_phys_unmap_single,
10045}; 10045};
10046 10046
10047static int __devinit niu_of_probe(struct platform_device *op) 10047static int niu_of_probe(struct platform_device *op)
10048{ 10048{
10049 union niu_parent_id parent_id; 10049 union niu_parent_id parent_id;
10050 struct net_device *dev; 10050 struct net_device *dev;
@@ -10158,7 +10158,7 @@ err_out:
10158 return err; 10158 return err;
10159} 10159}
10160 10160
10161static int __devexit niu_of_remove(struct platform_device *op) 10161static int niu_of_remove(struct platform_device *op)
10162{ 10162{
10163 struct net_device *dev = dev_get_drvdata(&op->dev); 10163 struct net_device *dev = dev_get_drvdata(&op->dev);
10164 10164
@@ -10211,7 +10211,7 @@ static struct platform_driver niu_of_driver = {
10211 .of_match_table = niu_match, 10211 .of_match_table = niu_match,
10212 }, 10212 },
10213 .probe = niu_of_probe, 10213 .probe = niu_of_probe,
10214 .remove = __devexit_p(niu_of_remove), 10214 .remove = niu_of_remove,
10215}; 10215};
10216 10216
10217#endif /* CONFIG_SPARC64 */ 10217#endif /* CONFIG_SPARC64 */