Fix sub module name of HHA and DDRC for hip08, and add const to the
pointer parameter 'name' of step_vendor_data_tab().
CC: Xiaofei Tan <tanxiaofei@huawei.com>, <linuxarm@huawei.com>, <shiju.jose@huawei.com>, <jonathan.cameron@huawei.com> Date: Tue, 26 Nov 2019 20:12:29 +0800
Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
};
static const char *hha_submodule_name[] = {
- "TA_HHA0",
- "TA_HHA1",
"TB_HHA0",
- "TB_HHA1"
+ "TB_HHA1",
+ "TA_HHA0",
+ "TA_HHA1"
};
static const char *ddrc_submodule_name[] = {
- "TA_DDRC0",
- "TA_DDRC1",
- "TA_DDRC2",
- "TA_DDRC3",
"TB_DDRC0",
"TB_DDRC1",
"TB_DDRC2",
"TB_DDRC3",
+ "TA_DDRC0",
+ "TA_DDRC1",
+ "TA_DDRC2",
+ "TA_DDRC3",
};
static const struct hisi_module_info hisi_oem_type2_module[] = {
}
}
-static int step_vendor_data_tab(struct ras_ns_dec_tab *dec_tab, char *name)
+static int step_vendor_data_tab(struct ras_ns_dec_tab *dec_tab,
+ const char *name)
{
int rc;