From: Ferruh Yigit Date: Mon, 26 Sep 2016 15:39:22 +0000 (+0100) Subject: kni: make static struct const X-Git-Tag: spdx-start~5597 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9afcc5bc748649c14f3b0e5bca723e9e28fe6fc4;p=dpdk.git kni: make static struct const Signed-off-by: Ferruh Yigit --- diff --git a/lib/librte_eal/linuxapp/kni/kni_misc.c b/lib/librte_eal/linuxapp/kni/kni_misc.c index f051595cfa..37e9295a25 100644 --- a/lib/librte_eal/linuxapp/kni/kni_misc.c +++ b/lib/librte_eal/linuxapp/kni/kni_misc.c @@ -66,7 +66,7 @@ static int kni_thread_single(void *unused); /* KNI processing for multiple kernel thread mode */ static int kni_thread_multiple(void *param); -static struct file_operations kni_fops = { +static const struct file_operations kni_fops = { .owner = THIS_MODULE, .open = kni_open, .release = kni_release,