From 98897e26ceb10f46b890db24a949145d52353087 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Fri, 17 Jun 2016 16:42:02 +0200 Subject: Fix node registration in ixge driver Change-Id: Ia98ed873954feaa7bf1f13d8eb4054d0afba495e Signed-off-by: Damjan Marion --- vnet/vnet/devices/nic/ixge.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vnet') diff --git a/vnet/vnet/devices/nic/ixge.c b/vnet/vnet/devices/nic/ixge.c index 8d2144142c6..cd08379ef78 100644 --- a/vnet/vnet/devices/nic/ixge.c +++ b/vnet/vnet/devices/nic/ixge.c @@ -2128,7 +2128,7 @@ static char * ixge_error_strings[] = { #undef _ }; -static vlib_node_registration_t ixge_input_node = { +VLIB_REGISTER_NODE (ixge_input_node, static) = { .function = ixge_input, .type = VLIB_NODE_TYPE_INPUT, .name = "ixge-input", @@ -2753,7 +2753,6 @@ ixge_pci_init (vlib_main_t * vm, vlib_pci_device_t * dev) if (vec_len (xm->devices) == 1) { ixge_input_node.function = ixge_input_multiarch_select(); - vlib_register_node (vm, &ixge_input_node); } xd->pci_device = dev[0]; -- cgit 1.2.3-korg