]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/misc/cros_ec.c
cros_ec: Show the protocol version in the debug message
[karo-tx-uboot.git] / drivers / misc / cros_ec.c
index 982bac788d52b1b52948a525018a585bcb225d8c..4b6ac6a6c01f75d97db362c0a169654c7377dd35 100644 (file)
@@ -986,7 +986,8 @@ int cros_ec_register(struct udevice *dev)
        }
 
        /* Remember this device for use by the cros_ec command */
-       debug("Google Chrome EC CROS-EC driver ready, id '%s'\n", id);
+       debug("Google Chrome EC v%d CROS-EC driver ready, id '%s'\n",
+             cdev->protocol_version, id);
 
        return 0;
 }