Skip to content

Commit 3aa5a6c

Browse files
committed
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 <[email protected]>
1 parent bf77f3f commit 3aa5a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/memory/mtk-smi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct mtk_smi_common_plat {
6060

6161
struct mtk_smi_larb_gen {
6262
int port_in_larb[MTK_LARB_NR_MAX + 1];
63-
void (*config_port)(struct device *);
63+
void (*config_port)(struct device *dev);
6464
unsigned int larb_direct_to_common_mask;
6565
bool has_gals;
6666
};

0 commit comments

Comments
 (0)