Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E1769C64EC4 for ; Thu, 9 Mar 2023 16:23:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A693785E72; Thu, 9 Mar 2023 17:22:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="SouRwECk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 54E5E85B84; Thu, 9 Mar 2023 17:22:24 +0100 (CET) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 983D385B78 for ; Thu, 9 Mar 2023 17:22:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82f.google.com with SMTP id c3so2531152qtc.8 for ; Thu, 09 Mar 2023 08:22:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1678378937; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=p36zz1Fp9dUF9j0B5lhdxJVxLtDPGt2NXDHjIks+bSE=; b=SouRwECkJXQtVQ5cLveW9w1dL5opLhh3H6AOfeilgrSUtIs1TScuhXX/o+TPnXg0LL 8rWEV8rQ51ZvIq22XvlHwbR9R/+HYaw2UT/rjuLrKeE4Tlsc1yThprlPF8EZUnou3GZJ sRTm3EWTevLL7QQ2dCQb/yMeojep9TxIwmCXw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678378937; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=p36zz1Fp9dUF9j0B5lhdxJVxLtDPGt2NXDHjIks+bSE=; b=oEXwT1OENnkYlz2rWIwzLhJ4yZrYTkM0qjtzuhRs4TaZoRoD6zYUYR9mDj6rbn6g4r AEqyJU9NE/HYzYt2di527nPbV5emfq/8r4OytrXpER5Q24OsiDvoFC3L+/MUkHHQTsfH 6RW9Zj+bn0daW+VDnvtWDPC4k2ZdrPRcNXWz2mT2RmbQLHDkTEdBlkpPcZZn6JeP2fJR YP01MVLPladcm2tVmcC9tGO+gbQXhua2snebjVECdDkYgbc5gZJS0n2BE3mO7nmmOYeG GFE+RUQX3qzwlHA8wlH2h/bXFLeo3ii5jaJDhWWypxOq4qKW9y8Qx4ZCxvR5O/1QdA4Q jnrw== X-Gm-Message-State: AO0yUKUAGMJtF0kkSdnQGxtZcbgW4aNchu+D0hRmN5Os/Er8/QHn3SBU DeA1M98Sn13NlVSwEmY6/05FEf9WnGf5MpzEh9i7+w== X-Google-Smtp-Source: AK7set+52QvNX2LVF+AC/QreWp827Bl4zttidX2YAFHLvchJdK354eRP2EDFSRiIfbJypa8MoXSEcw== X-Received: by 2002:a05:622a:5c6:b0:3b5:5234:e895 with SMTP id d6-20020a05622a05c600b003b55234e895mr28626874qtb.15.1678378937048; Thu, 09 Mar 2023 08:22:17 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-0000-0000-0000-036b.res6.spectrum.com. [2603:6081:7b00:6400::36b]) by smtp.gmail.com with ESMTPSA id r145-20020a37a897000000b0073b69922cfesm13828287qke.85.2023.03.09.08.22.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 08:22:16 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Angus Ainslie , kernel@puri.sm Subject: [PATCH 5/6] purism: librem5: Fix a function declaration in spl.c Date: Thu, 9 Mar 2023 11:22:11 -0500 Message-Id: <20230309162212.2096573-5-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230309162212.2096573-1-trini@konsulko.com> References: <20230309162212.2096573-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Here we implement usb_gadget_handle_interrupts() but did not include so did not have the declaration correct. Fix this and add the missing include. Signed-off-by: Tom Rini --- Cc: Angus Ainslie Cc: kernel@puri.sm --- board/purism/librem5/spl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/purism/librem5/spl.c b/board/purism/librem5/spl.c index 1a203b459990..90f1fcf415f3 100644 --- a/board/purism/librem5/spl.c +++ b/board/purism/librem5/spl.c @@ -26,6 +26,7 @@ #include #include #include +#include #include "librem5.h" DECLARE_GLOBAL_DATA_PTR; @@ -417,7 +418,7 @@ out: return rv; } -int usb_gadget_handle_interrupts(void) +int usb_gadget_handle_interrupts(int index) { dwc3_uboot_handle_interrupt(0); return 0; -- 2.34.1