]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
bonding: make tbl argument to bond_parse_parm() const
authorHolger Eitzenberger <holger@eitzenberger.org>
Wed, 10 Dec 2008 07:10:17 +0000 (23:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Dec 2008 07:10:17 +0000 (23:10 -0800)
commit325dcf7a907a43f8832b92ae1c672798b4e60ce2
treea11aef2c60b12f4f98cd15e2f3843677c056d7a2
parentd78755237f0892c8d313a7f7b1774443a7308b11
bonding: make tbl argument to bond_parse_parm() const

bond_parse_parm() parses a parameter table for a particular value and
is therefore not modifying the table at all.  Therefore make the 2nd
argument const, thus allowing to make the tables const later.

Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bonding.h