diff options
author | Tom Rini <trini@konsulko.com> | 2017-04-05 12:28:33 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-05 12:28:33 (GMT) |
commit | 433647a7ef9241b963b4636e7f8c3a2159d156f0 (patch) | |
tree | 15008cb530f46b5f9711efa2d9fc550b11ce2905 /cmd/cros_ec.c | |
parent | 7da8680b260b4598d841d9a8432d95d56cb86d9f (diff) | |
parent | 239ae4a9129b8b9f24a216e127042b255b07ae59 (diff) | |
download | u-boot-433647a7ef9241b963b4636e7f8c3a2159d156f0.tar.xz |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'cmd/cros_ec.c')
-rw-r--r-- | cmd/cros_ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cros_ec.c b/cmd/cros_ec.c index 9d42f87..af0b4ee 100644 --- a/cmd/cros_ec.c +++ b/cmd/cros_ec.c @@ -110,7 +110,7 @@ static int do_cros_ec(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) /* Remove any existing device */ ret = uclass_find_device(UCLASS_CROS_EC, 0, &udev); if (!ret) - device_remove(udev); + device_remove(udev, DM_REMOVE_NORMAL); ret = uclass_get_device(UCLASS_CROS_EC, 0, &udev); if (ret) { printf("Could not init cros_ec device (err %d)\n", ret); |