net: core: dev: Add extack argument to dev_open()
[linux-2.6-block.git] / drivers / staging / fsl-dpaa2 / ethsw / ethsw.c
index 4fa37d6e598b8c59e9cf78812d8a12285531f984..daabaceeea52fa360bb7d641cb6598833a0c2b16 100644 (file)
@@ -1172,7 +1172,7 @@ static int ethsw_open(struct ethsw_core *ethsw)
 
        for (i = 0; i < ethsw->sw_attr.num_ifs; i++) {
                port_priv = ethsw->ports[i];
-               err = dev_open(port_priv->netdev);
+               err = dev_open(port_priv->netdev, NULL);
                if (err) {
                        netdev_err(port_priv->netdev, "dev_open err %d\n", err);
                        return err;