diff options
author | Simon Glass <sjg@chromium.org> | 2020-10-05 05:27:00 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-11-05 14:58:45 +0800 |
commit | ed0f868d501ee2bc31391210c214e9d07ae0874b (patch) | |
tree | 32605e87f5dc76cc1279ec72d8720c3a6338e889 /drivers/misc/cros_ec_lpc.c | |
parent | 35b7ca768f7d826b77d5d3d6ccd6b1b8ed21f186 (diff) |
cros_ec: Fix up driver names to avoid dtoc warnings
Fix the dtoc warning in these file by using a driver name that matches the
compatible string.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/misc/cros_ec_lpc.c')
-rw-r--r-- | drivers/misc/cros_ec_lpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/cros_ec_lpc.c b/drivers/misc/cros_ec_lpc.c index 4ad6c8ca66d..63702f90fbc 100644 --- a/drivers/misc/cros_ec_lpc.c +++ b/drivers/misc/cros_ec_lpc.c @@ -243,8 +243,8 @@ static const struct udevice_id cros_ec_ids[] = { { } }; -U_BOOT_DRIVER(cros_ec_lpc) = { - .name = "cros_ec_lpc", +U_BOOT_DRIVER(google_cros_ec_lpc) = { + .name = "google_cros_ec_lpc", .id = UCLASS_CROS_EC, .of_match = cros_ec_ids, .probe = cros_ec_probe, |