Commit 607638b7 authored by Liao Chen's avatar Liao Chen Committed by Lee Jones
Browse files

mfd: max14577: Provide MODULE_DEVICE_TABLE() to fix module autoloading



Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from of_device_id table.

Signed-off-by: default avatarLiao Chen <liaochen4@huawei.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240814025710.3875859-1-liaochen4@huawei.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 6fc9bb82
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -143,6 +143,7 @@ static const struct of_device_id max14577_dt_match[] = {
	},
	{},
};
MODULE_DEVICE_TABLE(of, max14577_dt_match);

static bool max14577_muic_volatile_reg(struct device *dev, unsigned int reg)
{