|
@@ -5992,7 +5992,7 @@ static int ixgbe_change_mtu(struct net_device *netdev, int new_mtu)
|
|
* handler is registered with the OS, the watchdog timer is started,
|
|
* handler is registered with the OS, the watchdog timer is started,
|
|
* and the stack is notified that the interface is ready.
|
|
* and the stack is notified that the interface is ready.
|
|
**/
|
|
**/
|
|
-static int ixgbe_open(struct net_device *netdev)
|
|
|
|
|
|
+int ixgbe_open(struct net_device *netdev)
|
|
{
|
|
{
|
|
struct ixgbe_adapter *adapter = netdev_priv(netdev);
|
|
struct ixgbe_adapter *adapter = netdev_priv(netdev);
|
|
struct ixgbe_hw *hw = &adapter->hw;
|
|
struct ixgbe_hw *hw = &adapter->hw;
|
|
@@ -6094,7 +6094,7 @@ static void ixgbe_close_suspend(struct ixgbe_adapter *adapter)
|
|
* needs to be disabled. A global MAC reset is issued to stop the
|
|
* needs to be disabled. A global MAC reset is issued to stop the
|
|
* hardware, and all transmit and receive resources are freed.
|
|
* hardware, and all transmit and receive resources are freed.
|
|
**/
|
|
**/
|
|
-static int ixgbe_close(struct net_device *netdev)
|
|
|
|
|
|
+int ixgbe_close(struct net_device *netdev)
|
|
{
|
|
{
|
|
struct ixgbe_adapter *adapter = netdev_priv(netdev);
|
|
struct ixgbe_adapter *adapter = netdev_priv(netdev);
|
|
|
|
|