Skip to content

Commit

Permalink
remtoeproc: define rsc_handler_table as static const
Browse files Browse the repository at this point in the history
Define resource table handler as static const.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: Wendy Liang <wendy.liang@xilinx.com>
  • Loading branch information
xiaoxiang781216 authored and Wendy Liang committed Jan 16, 2019
1 parent 67ddf36 commit 9539baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/remoteproc/rsc_table_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
static int handle_dummy_rsc(struct remoteproc *rproc, void *rsc);

/* Resources handler */
rsc_handler rsc_handler_table[] = {
static const rsc_handler rsc_handler_table[] = {
handle_carve_out_rsc, /**< carved out resource */
handle_dummy_rsc, /**< IOMMU dev mem resource */
handle_trace_rsc, /**< trace buffer resource */
Expand Down

0 comments on commit 9539baa

Please sign in to comment.