diff options
Diffstat (limited to 'drivers/net/pcmcia/smc91c92_cs.c')
-rw-r--r-- | drivers/net/pcmcia/smc91c92_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index cc7a357feac9..3d1c549b7038 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -296,7 +296,7 @@ static const struct net_device_ops smc_netdev_ops = { | |||
296 | .ndo_tx_timeout = smc_tx_timeout, | 296 | .ndo_tx_timeout = smc_tx_timeout, |
297 | .ndo_set_config = s9k_config, | 297 | .ndo_set_config = s9k_config, |
298 | .ndo_set_multicast_list = set_rx_mode, | 298 | .ndo_set_multicast_list = set_rx_mode, |
299 | .ndo_do_ioctl = &smc_ioctl, | 299 | .ndo_do_ioctl = smc_ioctl, |
300 | .ndo_change_mtu = eth_change_mtu, | 300 | .ndo_change_mtu = eth_change_mtu, |
301 | .ndo_set_mac_address = eth_mac_addr, | 301 | .ndo_set_mac_address = eth_mac_addr, |
302 | .ndo_validate_addr = eth_validate_addr, | 302 | .ndo_validate_addr = eth_validate_addr, |
@@ -1117,7 +1117,7 @@ static int smc_open(struct net_device *dev) | |||
1117 | 1117 | ||
1118 | smc_reset(dev); | 1118 | smc_reset(dev); |
1119 | init_timer(&smc->media); | 1119 | init_timer(&smc->media); |
1120 | smc->media.function = &media_check; | 1120 | smc->media.function = media_check; |
1121 | smc->media.data = (u_long) dev; | 1121 | smc->media.data = (u_long) dev; |
1122 | smc->media.expires = jiffies + HZ; | 1122 | smc->media.expires = jiffies + HZ; |
1123 | add_timer(&smc->media); | 1123 | add_timer(&smc->media); |