mirror of https://gitee.com/openkylin/linux.git
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: Krzysztof Kozlowski <krzk@kernel.org>
This commit is contained in:
parent
bf77f3f465
commit
3aa5a6c2d9
|
@ -60,7 +60,7 @@ struct mtk_smi_common_plat {
|
|||
|
||||
struct mtk_smi_larb_gen {
|
||||
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;
|
||||
bool has_gals;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue