]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
bonding: Fixup get_tx_queue() op second arg type.
authorDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2012 19:02:35 +0000 (15:02 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Apr 2012 19:02:35 +0000 (15:02 -0400)
I missed this when fixing up the warning in the previous commit.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c

index 53ee6a0a36815debef8a8ccd67a22bdcfdefb427..bb928993db3aaa7be5fd5ba09cdff9743b4bcade 100644 (file)
@@ -4820,7 +4820,7 @@ static int bond_validate(struct nlattr *tb[], struct nlattr *data[])
        return 0;
 }
 
-static int bond_get_tx_queues(struct net *net, const struct nlattr *tb[])
+static int bond_get_tx_queues(struct net *net, struct nlattr *tb[])
 {
        return tx_queues;
 }