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 5CCF8C001E0 for ; Mon, 17 Jul 2023 19:26:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5A1138666F; Mon, 17 Jul 2023 21:26:49 +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="hYBwrHXG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EE41D86673; Mon, 17 Jul 2023 21:26:47 +0200 (CEST) Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) (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 BB95F86660 for ; Mon, 17 Jul 2023 21:26:45 +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-yw1-x1133.google.com with SMTP id 00721157ae682-577ddda6ab1so69535177b3.0 for ; Mon, 17 Jul 2023 12:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1689622004; x=1692214004; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=BLNSd8LHm7OLt5Hjn83hGZ3Q0sMWp3HigIvyYdnj6oA=; b=hYBwrHXGeOmKY4Uumj5qBQMTpxlxUPtO/5fihekTzgHl8UzfimR4QPqVyvcc3xL/Mf LtJzkKijjzy1/Tbdk0LH2SWJLm1hejtmZtKuxpj40mdW2twb1ubVwHfJzgrz23U6FxMn I2ibOyHw8KfdfLHdRYPCb8PeRpTxdWqNVp/9g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689622004; x=1692214004; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BLNSd8LHm7OLt5Hjn83hGZ3Q0sMWp3HigIvyYdnj6oA=; b=StlTlleaOTr+XRIgFZLg5OWkB8a7LUk9DKXWoge1x9FakXfachoQg32Xk7qtBMzP1Z v0gg3Z6G0K5c8huPAAHjWUlY2G13o/+OplXyk+LSzmk4uRFrskdF0rtQUszcCV2z2Ky/ SDZ8pt4K8SUV2wHhOHlduUGPc+FtXlz2Md8m7ksCfCW32mvC3OgATxuzGGTsWL5aH4nM txXth0VqwZ/XJIgdq+29Klk3HGQwGZlBzNeibxUYt87CJfDCyO7ReukKAwy8OlGRJWzh OBjDLrXS8T0q2NjUV0LKIP+oky3bXw/THIx+lV+RjAtUE274ZsGG2bxVOtjXUNP8iTRo jLQQ== X-Gm-Message-State: ABy/qLbHbLkS3O3aPy6UgkwnbdDaFPreXuKBnF1QfU7joH7CXy10b5xJ gXEgpeBwSdXJ78Y5JrIP/4icBfuTXY1uwvZOxbZHaA== X-Google-Smtp-Source: APBJJlHTVKlaOlU9gmSzfcrdtdlkNply39qIvB5BdQTv/jtec5Fd/Re4cFgYd5lpJkIL36qrF/RVWw== X-Received: by 2002:a0d:d455:0:b0:56c:ffe4:4ca5 with SMTP id w82-20020a0dd455000000b0056cffe44ca5mr12039244ywd.10.1689622004266; Mon, 17 Jul 2023 12:26:44 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-865a-8589-771c-0053.res6.spectrum.com. [2603:6081:7b00:6400:865a:8589:771c:53]) by smtp.gmail.com with ESMTPSA id t22-20020a0dea16000000b0056cd3e598d8sm38055ywe.114.2023.07.17.12.26.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jul 2023 12:26:44 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH] arm: omap2: Fix warning in force_emif_self_refresh Date: Mon, 17 Jul 2023 15:26:43 -0400 Message-Id: <20230717192643.2063493-1-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 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 The function declaration for force_emif_self_refresh takes no parameters but does not specify this, only the prototype in the headers do. As clang will warn about this, correct it. Signed-off-by: Tom Rini --- arch/arm/mach-omap2/emif-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/emif-common.c b/arch/arm/mach-omap2/emif-common.c index a6a97af37d7b..9daaeef73190 100644 --- a/arch/arm/mach-omap2/emif-common.c +++ b/arch/arm/mach-omap2/emif-common.c @@ -40,7 +40,7 @@ void set_lpmode_selfrefresh(u32 base) readl(&emif->emif_pwr_mgmt_ctrl); } -void force_emif_self_refresh() +void force_emif_self_refresh(void) { set_lpmode_selfrefresh(EMIF1_BASE); if (!is_dra72x()) -- 2.34.1