From 0d74a37b0e68873a86c3eb2e723f5c66027d046e Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Fri, 15 Jul 2022 20:46:32 +0800 Subject: [PATCH] regulator: wl2868c: Fix typo drivers/regulator/wl2868c-regulator.c:252:26: error: use of undeclared identifier 'i2c_device_id'; MODULE_DEVICE_TABLE(i2c, i2c_device_id); Fixes: 7f56984c2172 ("regulator: Add WL2868C LDO support") Signed-off-by: Tao Huang Change-Id: I66e1d2fc6716c42fccc6e65262b6124dec4d5cf8 --- drivers/regulator/wl2868c-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/wl2868c-regulator.c b/drivers/regulator/wl2868c-regulator.c index e3b07325b00c..a9880e76980e 100644 --- a/drivers/regulator/wl2868c-regulator.c +++ b/drivers/regulator/wl2868c-regulator.c @@ -249,7 +249,7 @@ static const struct i2c_device_id wl2868c_i2c_id[] = { { } }; -MODULE_DEVICE_TABLE(i2c, i2c_device_id); +MODULE_DEVICE_TABLE(i2c, wl2868c_i2c_id); static const struct of_device_id wl2868c_of_match[] = { { .compatible = "willsemi,wl2868c" },