Merge git://git.denx.de/u-boot-dm
[oweals/u-boot.git] / drivers / misc / cros_ec_lpc.c
index ef6e6820974c155b91ee113c419f332f15e9731c..be17adcc5ace1036455d4bc7cb7bca6ee145f85c 100644 (file)
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Chromium OS cros_ec driver - LPC interface
  *
  * Copyright (c) 2012 The Chromium OS Authors.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
@@ -206,12 +205,12 @@ static struct dm_cros_ec_ops cros_ec_ops = {
 };
 
 static const struct udevice_id cros_ec_ids[] = {
-       { .compatible = "google,cros-ec" },
+       { .compatible = "google,cros-ec-lpc" },
        { }
 };
 
 U_BOOT_DRIVER(cros_ec_lpc) = {
-       .name           = "cros_ec",
+       .name           = "cros_ec_lpc",
        .id             = UCLASS_CROS_EC,
        .of_match       = cros_ec_ids,
        .probe          = cros_ec_probe,