]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/iseries_veth.c
mm: make register_page_bootmem_info_section() static
[linux-2.6-omap-h63xx.git] / drivers / net / iseries_veth.c
index 419861cbc65ecb23ae1172b6559b402bc0caa8d6..b8d0639c1cdfa655c2b3ab5f499de6310668cc02 100644 (file)
@@ -308,7 +308,8 @@ static void veth_complete_allocation(void *parm, int number)
 
 static int veth_allocate_events(HvLpIndex rlp, int number)
 {
-       struct veth_allocation vc = { COMPLETION_INITIALIZER(vc.c), 0 };
+       struct veth_allocation vc =
+               { COMPLETION_INITIALIZER_ONSTACK(vc.c), 0 };
 
        mf_allocate_lp_events(rlp, HvLpEvent_Type_VirtualLan,
                            sizeof(struct veth_lpevent), number,
@@ -1020,7 +1021,7 @@ static const struct ethtool_ops ops = {
        .get_link = veth_get_link,
 };
 
-static struct net_device * __init veth_probe_one(int vlan,
+static struct net_device *veth_probe_one(int vlan,
                struct vio_dev *vio_dev)
 {
        struct net_device *dev;