]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cros_ec: Fix up driver names to avoid dtoc warnings
authorSimon Glass <sjg@chromium.org>
Mon, 5 Oct 2020 11:27:00 +0000 (05:27 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 5 Nov 2020 06:58:45 +0000 (14:58 +0800)
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>
drivers/misc/cros_ec_i2c.c
drivers/misc/cros_ec_lpc.c
drivers/misc/cros_ec_spi.c

index c00f5f764a044d59bea543da928b39553bb6a6ba..664bd2b9385ff6e41870e64c819ec4caf69eaeb2 100644 (file)
@@ -231,8 +231,8 @@ static const struct udevice_id cros_ec_ids[] = {
        { }
 };
 
-U_BOOT_DRIVER(cros_ec_i2c) = {
-       .name           = "cros_ec_i2c",
+U_BOOT_DRIVER(google_cros_ec_i2c) = {
+       .name           = "google_cros_ec_i2c",
        .id             = UCLASS_CROS_EC,
        .of_match       = cros_ec_ids,
        .probe          = cros_ec_probe,
index 4ad6c8ca66d22b0ed38590f510a6448182739f54..63702f90fbcf67c367e4c5f58541b2e00e39cf56 100644 (file)
@@ -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,
index 153f971bdebe689f83154cbeea06ed62a335790e..bbc96301aeba6ba334500bb7150ba275f5984213 100644 (file)
@@ -184,8 +184,8 @@ static const struct udevice_id cros_ec_ids[] = {
        { }
 };
 
-U_BOOT_DRIVER(cros_ec_spi) = {
-       .name           = "cros_ec_spi",
+U_BOOT_DRIVER(google_cros_ec_spi) = {
+       .name           = "google_cros_ec_spi",
        .id             = UCLASS_CROS_EC,
        .of_match       = cros_ec_ids,
        .probe          = cros_ec_probe,