]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cmd/usb_gadget_sdp.c
Merge CONFIG_BOOTCOUNT and CONFIG_BOOTCOUNT_LIMIT
[people/ms/u-boot.git] / cmd / usb_gadget_sdp.c
index b1d8b2858e199a5132902130851d364a6bf79a36..97d00ec5453879c37c40377454bd6aa2807e18bd 100644 (file)
@@ -28,13 +28,13 @@ static int do_sdp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 
        ret = sdp_init(controller_index);
        if (ret) {
-               error("SDP init failed: %d", ret);
+               pr_err("SDP init failed: %d\n", ret);
                goto exit;
        }
 
        /* This command typically does not return but jumps to an image */
        sdp_handle(controller_index);
-       error("SDP ended");
+       pr_err("SDP ended\n");
 
 exit:
        g_dnl_unregister();