Commit c994a4d5 authored by Adithya Krishnamurthy's avatar Adithya Krishnamurthy Committed by Greg Kroah-Hartman

Staging:tidspbridge Fix checkpatch.pl warning char * array declaration might...

Staging:tidspbridge Fix checkpatch.pl warning char * array declaration might be better as static const

Fixed checkpatch "WARNING: char * array declaration might be better as static const"
Signed-off-by: default avatarAdithya Krishnamurthy <linux.challenge1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cb3aadae
...@@ -1910,10 +1910,11 @@ int dump_dsp_stack(struct bridge_dev_context *bridge_context) ...@@ -1910,10 +1910,11 @@ int dump_dsp_stack(struct bridge_dev_context *bridge_context)
u32 offset_output; u32 offset_output;
u32 total_size; u32 total_size;
u32 poll_cnt; u32 poll_cnt;
const char *dsp_regs[] = {"EFR", "IERR", "ITSR", "NTSR", static const char * const dsp_regs[] = {"EFR", "IERR", "ITSR", "NTSR",
"IRP", "NRP", "AMR", "SSR", "IRP", "NRP", "AMR", "SSR",
"ILC", "RILC", "IER", "CSR"}; "ILC", "RILC", "IER", "CSR"};
const char *exec_ctxt[] = {"Task", "SWI", "HWI", "Unknown"}; static const char * const exec_ctxt[] = {"Task", "SWI", "HWI",
"Unknown"};
struct bridge_drv_interface *intf_fxns; struct bridge_drv_interface *intf_fxns;
struct dev_object *dev_object = bridge_context->dev_obj; struct dev_object *dev_object = bridge_context->dev_obj;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment