From mboxrd@z Thu Jan 1 00:00:00 1970 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 68C7EC001DE for ; Fri, 14 Jul 2023 00:38:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 874D986C53; Fri, 14 Jul 2023 02:37:50 +0200 (CEST) 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="SxBgQLOr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CF37A86CE1; Fri, 14 Jul 2023 02:37:47 +0200 (CEST) Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) (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 ED3F386C16 for ; Fri, 14 Jul 2023 02:37:39 +0200 (CEST) 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-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-c4cb4919bb9so1273815276.3 for ; Thu, 13 Jul 2023 17:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1689295058; x=1691887058; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=4dVqeIeTUijAdRYfi5LsEDa9GU772lo0CF3KR+r7WFc=; b=SxBgQLOrcZu5XOYszJuMDYL1OXx/+qACL3u68YyiBXG+ubJkDztK4tAam2A88Ltcda HycBb4+JFCzDwKe+SQx4EU7S6n7UVqZEGzssYZQaV7QjneEVEdQ1+Z7vFmRO6wuCvPy0 i9pGRsHpg4x0dn6RhxZlV8W9jB7nBbEP92rfo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689295058; x=1691887058; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4dVqeIeTUijAdRYfi5LsEDa9GU772lo0CF3KR+r7WFc=; b=g9UyYeVUn00282sRXNcI8DO9LAS9DJSwR6QQJLSKqpWPSjiHgoQghz6UueUgZ9peBC uJc4nA98h7pQ6UtDHiY+4R26X0W37F67VuusNL+BifM61lHgEbjaQLc1an+o4pauYRzb s56HWIbZ2HoIGrhxh99GAQ9k0sECItVXpMHVOTpweT/Q1r0/f65ALCh+4ezipoK9gKYy qs+8khvkoFHxUpvt1zU9JFqXB3scUcJjhEZI8uuBPmzhkxnBiug3watAHnzP5k82nglr fUgABSDqOcAhiQS36f52P6wz/SwOC859PleH70NWEH3Vb2FdQnPJ6Dw1dpfkWfEDnWGy yBUQ== X-Gm-Message-State: ABy/qLaUWCunnamSuZ6op6G3YcGo9SYsoMdQxnGWmA7aKm8c8owusA9K DiqkTTDJZcJt/WEoCDdzDSUqN4Ja929p/czV+94xKg== X-Google-Smtp-Source: APBJJlG7+zHGu1w8bxIwCUtBJEKfBtFxTsSP0BtXU0PqxRMBa3Iw/PREYZJ2ct8QsRYj5NMluT+xYA== X-Received: by 2002:a0d:d60c:0:b0:576:8a5a:87e5 with SMTP id y12-20020a0dd60c000000b005768a5a87e5mr3399556ywd.26.1689295058503; Thu, 13 Jul 2023 17:37:38 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-cb70-e592-de93-e6d2.res6.spectrum.com. [2603:6081:7b00:6400:cb70:e592:de93:e6d2]) by smtp.gmail.com with ESMTPSA id y7-20020a0dd607000000b005616d72f435sm2036552ywd.116.2023.07.13.17.37.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 17:37:38 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 2/5] arm: mx5: Correct mxc_set_clock function prototype Date: Thu, 13 Jul 2023 20:37:33 -0400 Message-Id: <20230714003736.3512509-2-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230714003736.3512509-1-trini@konsulko.com> References: <20230714003736.3512509-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 With gcc-13.1 we get a warning about enum vs int here, so correct the declaration to match the implementation. Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-mx5/clock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-mx5/clock.h b/arch/arm/include/asm/arch-mx5/clock.h index 63a51042e1eb..d585b5cf4b22 100644 --- a/arch/arm/include/asm/arch-mx5/clock.h +++ b/arch/arm/include/asm/arch-mx5/clock.h @@ -42,7 +42,7 @@ enum mxc_clock { u32 imx_get_uartclk(void); u32 imx_get_fecclk(void); unsigned int mxc_get_clock(enum mxc_clock clk); -int mxc_set_clock(u32 ref, u32 freq, u32 clk_type); +int mxc_set_clock(u32 ref, u32 freq, enum mxc_clock clk); void set_usb_phy_clk(void); void enable_usb_phy1_clk(bool enable); void enable_usb_phy2_clk(bool enable); -- 2.34.1