diff options
author | Mark Einon <mark.einon@gmail.com> | 2011-10-07 22:52:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-11 10:08:22 -0600 |
commit | a75fc17aaa52d4fa7a6bc619a094e542beafac3e (patch) | |
tree | 6c8e2d6b60907eea09bbde2621de78d96208e532 /drivers/staging/et131x/et131x.h | |
parent | a9bd8ddad637f957d3b5f0bde31417e0c97c9c2f (diff) |
staging: et131x: Remove error path from suspend/resume code
Removing an error path from et131x suspend/resume functions.
Also added a call to phy_stop() to complement the phy_start() call
during device start/stop routine.
Thanks to Francois Romieu <romieu@fr.zoreil.com> for pointing this out.
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/et131x/et131x.h')
-rw-r--r-- | drivers/staging/et131x/et131x.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/et131x/et131x.h b/drivers/staging/et131x/et131x.h index c8f5ab14b6f9..e83223468f74 100644 --- a/drivers/staging/et131x/et131x.h +++ b/drivers/staging/et131x/et131x.h @@ -85,6 +85,8 @@ void et1310_setup_device_for_unicast(struct et131x_adapter *adapter); /* et131x_netdev.c */ int et131x_open(struct net_device *netdev); int et131x_close(struct net_device *netdev); +void et131x_up(struct net_device *netdev); +void et131x_down(struct net_device *netdev); struct net_device *et131x_device_alloc(void); void et131x_enable_txrx(struct net_device *netdev); void et131x_disable_txrx(struct net_device *netdev); |