From patchwork Tue Mar 31 05:34:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 1264532 X-Patchwork-Delegate: van.freenix@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.a=rsa-sha256 header.s=google header.b=c9qT1Tka; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48ryhK3brJz9sQt for ; Tue, 31 Mar 2020 16:34:57 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7F95E81951; Tue, 31 Mar 2020 07:34:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=broadcom.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=broadcom.com header.i=@broadcom.com header.b="c9qT1Tka"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 300C681950; Tue, 31 Mar 2020 07:34:38 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (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 AE31281942 for ; Tue, 31 Mar 2020 07:34:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rayagonda.kokatanur@broadcom.com Received: by mail-wr1-x444.google.com with SMTP id u10so24296474wro.7 for ; Mon, 30 Mar 2020 22:34:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KThrrqMuxQ2xPBeqG2CRFTQaj/aGs3gwFmDfPD+KZa4=; b=c9qT1TkaUS5WZvuNyFfoLhGDMScyeELajTYkXCaLkYTj/cewiWP2K6JcHzamHFcNKp +Bk2H2Y9dUjsWk4Zi59tXiUIg4irRVActloWpgVq1igadIGBI+ga+uHa7Ymf0CQP2Ymm Ibf6Ulit5O001qw7FOpvNiuFhfi3+eQWgrRPg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KThrrqMuxQ2xPBeqG2CRFTQaj/aGs3gwFmDfPD+KZa4=; b=INjNA4ji1ocPb/aLDa2TXpQhlmIP5ObWwKFWgpcgyKIyeHDPR8pgMbCZt1JdmlE4oM iihTPj49+bdhWqH68FLx+qAlFsibp4N2ZILu6o+NaAUz7qbKS3rAQ39cBN7f8Q+pC2jK uH4a7K8y1qoWKoDPRqmt/QnwJtmFIrUCxIuLvfxwu3KfML0HKvHOXP2fKuxcNZnqbNQJ 2ggFGGjfxdBd2ebg6FXWapp4sFQ6AVH9NgcJmAZSctjrB0+zhgCO5x/+A3v/eo7bHAVP kfNduADgVK6g5gTwWoLnlMgW1b9tw4DC0r5kb8Ip7H4tbv85F9H3aBrgNyxD9v7iRvow 1w3w== X-Gm-Message-State: ANhLgQ0YvpWEKE+VJgJMtcVKWATn4E6ENFtFiKkvv7p4o/V/6eR67upa 1TVfPrji/Mv+KuN0m47o+pd8hvK1siwPATZf25EXgq5PDtT7itXgPzo0ZXY9SuI1vcdL1DzcQV+ JjI6Jb8avi0xvZ3iYKuAGADvmktU4ZhTv8RxBQ7H/e4lBKKRDmid9gsP1rrnJcGn+3urICGi243 cSuawfIA== X-Google-Smtp-Source: ADFU+vsDEthjTYOCoF0fsf5Rk1qyRhINS8n91Efff1hXX4kLpV/JKtDi4cpF+GAhHQK4oKAw/Jg49w== X-Received: by 2002:adf:e946:: with SMTP id m6mr18938671wrn.187.1585632874887; Mon, 30 Mar 2020 22:34:34 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id w204sm2374854wma.1.2020.03.30.22.34.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2020 22:34:34 -0700 (PDT) From: Rayagonda Kokatanur To: u-boot@lists.denx.de, panto@antoniou-consulting.com, Bharat Kumar Reddy Gooty , Arun Parameswaran , Vladimir Olovyannikov Cc: Rayagonda Kokatanur Subject: [PATCH v1 3/4] drivers: mmc: iproc_sdhci: fix compilation warning Date: Tue, 31 Mar 2020 11:04:05 +0530 Message-Id: <20200331053406.23063-4-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200331053406.23063-1-rayagonda.kokatanur@broadcom.com> References: <20200331053406.23063-1-rayagonda.kokatanur@broadcom.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.102.2 at phobos.denx.de X-Virus-Status: Clean set_ios_post return type changed from void to int, correcting the same to fix compilation warning. Signed-off-by: Rayagonda Kokatanur Signed-off-by: Bharat Kumar Reddy Gooty --- drivers/mmc/iproc_sdhci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/iproc_sdhci.c b/drivers/mmc/iproc_sdhci.c index f65a1e543d..0f4d608869 100644 --- a/drivers/mmc/iproc_sdhci.c +++ b/drivers/mmc/iproc_sdhci.c @@ -136,7 +136,7 @@ static void sdhci_iproc_writeb(struct sdhci_host *host, u8 val, int reg) } #endif -static void sdhci_iproc_set_ios_post(struct sdhci_host *host) +static int sdhci_iproc_set_ios_post(struct sdhci_host *host) { u32 ctrl = sdhci_readw(host, SDHCI_HOST_CONTROL2); @@ -147,6 +147,8 @@ static void sdhci_iproc_set_ios_post(struct sdhci_host *host) ctrl |= UHS_DDR50_BUS_SPEED; sdhci_writew(host, ctrl, SDHCI_HOST_CONTROL2); + + return 0; } static struct sdhci_ops sdhci_platform_ops = {