mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 08:30:50 +09:00
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>
This commit is contained in:
parent
35b7ca768f
commit
ed0f868d50
@ -231,8 +231,8 @@ static const struct udevice_id cros_ec_ids[] = {
|
|||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
U_BOOT_DRIVER(cros_ec_i2c) = {
|
U_BOOT_DRIVER(google_cros_ec_i2c) = {
|
||||||
.name = "cros_ec_i2c",
|
.name = "google_cros_ec_i2c",
|
||||||
.id = UCLASS_CROS_EC,
|
.id = UCLASS_CROS_EC,
|
||||||
.of_match = cros_ec_ids,
|
.of_match = cros_ec_ids,
|
||||||
.probe = cros_ec_probe,
|
.probe = cros_ec_probe,
|
||||||
|
@ -243,8 +243,8 @@ static const struct udevice_id cros_ec_ids[] = {
|
|||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
U_BOOT_DRIVER(cros_ec_lpc) = {
|
U_BOOT_DRIVER(google_cros_ec_lpc) = {
|
||||||
.name = "cros_ec_lpc",
|
.name = "google_cros_ec_lpc",
|
||||||
.id = UCLASS_CROS_EC,
|
.id = UCLASS_CROS_EC,
|
||||||
.of_match = cros_ec_ids,
|
.of_match = cros_ec_ids,
|
||||||
.probe = cros_ec_probe,
|
.probe = cros_ec_probe,
|
||||||
|
@ -184,8 +184,8 @@ static const struct udevice_id cros_ec_ids[] = {
|
|||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
U_BOOT_DRIVER(cros_ec_spi) = {
|
U_BOOT_DRIVER(google_cros_ec_spi) = {
|
||||||
.name = "cros_ec_spi",
|
.name = "google_cros_ec_spi",
|
||||||
.id = UCLASS_CROS_EC,
|
.id = UCLASS_CROS_EC,
|
||||||
.of_match = cros_ec_ids,
|
.of_match = cros_ec_ids,
|
||||||
.probe = cros_ec_probe,
|
.probe = cros_ec_probe,
|
||||||
|
Loading…
Reference in New Issue
Block a user