Commit 3aa5a6c2 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

memory: mtk-smi: Add argument to function pointer definition

Fix checkpatch warning:

    WARNING: function definition argument 'struct device *' should also have an identifier name
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent bf77f3f4
...@@ -60,7 +60,7 @@ struct mtk_smi_common_plat { ...@@ -60,7 +60,7 @@ struct mtk_smi_common_plat {
struct mtk_smi_larb_gen { struct mtk_smi_larb_gen {
int port_in_larb[MTK_LARB_NR_MAX + 1]; int port_in_larb[MTK_LARB_NR_MAX + 1];
void (*config_port)(struct device *); void (*config_port)(struct device *dev);
unsigned int larb_direct_to_common_mask; unsigned int larb_direct_to_common_mask;
bool has_gals; bool has_gals;
}; };
......
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