summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjialv01 <Jianlin.Lv@arm.com>2019-06-11 14:00:20 +0800
committerDamjan Marion <dmarion@me.com>2019-06-11 09:52:09 +0000
commit54ee6d1c130e10ec9adc19955ea95205a8b835de (patch)
treed32f857764bdfdfd0aaa772529dcaac084c24490 /src
parent5c5ffe16cfc14238bbc49c2938a2851ff8a487ba (diff)
fix compiling error with marvell pp2 plugin
fix compile issue "src/plugins/marvell/pp2/pp2.c:247:62: error: 'vm' undeclared (first use in this function)" Change-Id: Ia23e21b07c29faefa6e363816a220e312adba81c Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/marvell/pp2/pp2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/marvell/pp2/pp2.c b/src/plugins/marvell/pp2/pp2.c
index d40b9ec7dd6..411e28b212b 100644
--- a/src/plugins/marvell/pp2/pp2.c
+++ b/src/plugins/marvell/pp2/pp2.c
@@ -179,6 +179,7 @@ mrvl_pp2_delete_if (mrvl_pp2_if_t * ppif)
void
mrvl_pp2_create_if (mrvl_pp2_create_if_args_t * args)
{
+ vlib_main_t *vm = vlib_get_main ();
vnet_main_t *vnm = vnet_get_main ();
vlib_thread_main_t *tm = vlib_get_thread_main ();
mrvl_pp2_main_t *ppm = &mrvl_pp2_main;