mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
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: 7f56984c21 ("regulator: Add WL2868C LDO support")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I66e1d2fc6716c42fccc6e65262b6124dec4d5cf8
This commit is contained in:
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user