staging: rdma: hfi1: diag: constify hfi1_filter_array structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 23 Dec 2015 20:42:57 +0000 (21:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 02:47:17 +0000 (18:47 -0800)
commit480fd015ec5c9109c55e39057f3df60278851432
treeb7e54e4b3530a88f97372b6b3dd6e351f1483939
parent568dcc883abcbb5ef7daf8ddcfea1b533324b4a6
staging: rdma: hfi1: diag: constify hfi1_filter_array structure

The hfi1_filter_array structure is never modified, so declare it as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/diag.c