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 X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27136C4707D for ; Fri, 21 May 2021 17:00:36 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2C291613E3 for ; Fri, 21 May 2021 17:00:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2C291613E3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6C3B382E8B; Fri, 21 May 2021 19:00:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ZewtTCBD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2AC7682E85; Fri, 21 May 2021 19:00:14 +0200 (CEST) Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) (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 24F7A82E82 for ; Fri, 21 May 2021 19:00:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=linux.amoon@gmail.com Received: by mail-pg1-x529.google.com with SMTP id l70so14713954pga.1 for ; Fri, 21 May 2021 10:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XhCHEncqwhyhSxDdc2dl1WwbeNua3lKUQ51ifJPcv88=; b=ZewtTCBD6gXGOD8ydI4FUIQqNQPaWy9W0M4UPph74v/GIqITWjW2+vNjERnVx61SPg wGqr/+zNe98tYvCD1HVfaa33BeOmMwFw0ZVT/my0VGDNYFjQEm5XM2LKgIHfOEXVw6aN aHcR1kgoHmlD9PUpUr41SywhrAZ9JjmVXTp6c8bDSpp1PbDk18HlLF0vk/19zEQrdvi7 g/tybBDQlZTWjKYpBOMZORUDpFqwKEcbdcZ7GsMUynGgE2n8Nc0EvdqGgOI0oOzGeZB3 A+ATbKmnOh8NvG/7x4RdZyrbxhQr7hr/7tRSnPilr9JOz30JXUeVWulL2xyTEECRWyIJ 94qw== 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:mime-version:content-transfer-encoding; bh=XhCHEncqwhyhSxDdc2dl1WwbeNua3lKUQ51ifJPcv88=; b=jxcYbWLLYHMigxlnw1gFifEoegZB6UF4EVXxjw7iflXccp1Dq2VbOBRwPDlE/+iu3U Hv5pj8AxsaXv4cgxdQsIRUe7sV6O+YRf78nEBfJQ78pO4rPsSYKbwd77Uel8LoYtXC4l 8EPf2f4aeeWThRk/xDtRANLJdJqUqZPe6hHyTJGF9eTUYfSynVIIkICLfRzaL+Ufr8Sq o6GxEW9Frt/r3gX7DqHxWBEmmOaDaP957y/cFiB1njApFVBKhfwi4d2tRx/HO0XyYgrq srZUQaWuwfsGDHu7PGwc8g0pO/2vMIn2lOEoMoVs2reGZs9p4P9XiYa1oSy7YVv0IoiO mOjA== X-Gm-Message-State: AOAM532OxJ3YiE5m+wMpjoZWvBMNzwzjubVxoR5I+2WhG146fXwTFHe1 JuxpyshUKcy0yPPvqvyuF1iijbsgVnpJDQ== X-Google-Smtp-Source: ABdhPJyr3kve1F6sDEQ57MsRVFYs0hUODpkNUNQHGxUm7viiTLyagR9S/wtipyXBKRRNMe+8j+xFjQ== X-Received: by 2002:a63:ed41:: with SMTP id m1mr10903198pgk.252.1621616402428; Fri, 21 May 2021 10:00:02 -0700 (PDT) Received: from archl-on1.. ([103.51.72.119]) by smtp.gmail.com with ESMTPSA id c15sm453997pgt.68.2021.05.21.10.00.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 10:00:02 -0700 (PDT) From: Anand Moon To: u-boot@lists.denx.de Cc: Neil Armstrong , Kever Yang , Shawn Lin , Patrick Wildt , Anand Moon Subject: [PATCHv2 3/3] pci: pcie_dw_rockchip: Use mleep macro to fix below error Date: Fri, 21 May 2021 16:59:49 +0000 Message-Id: <20210521165949.15909-3-linux.amoon@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210521165949.15909-1-linux.amoon@gmail.com> References: <20210521165949.15909-1-linux.amoon@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.4 at phobos.denx.de X-Virus-Status: Clean Define msleep macro to fix below error. drivers/pci/pcie_dw_rockchip.c:254:3: warning: implicit declaration of function 'msleep' [-Wimplicit-function-declaration] Cc: Patrick Wildt Cc: Neil Armstrong Cc: Kever Yang Signed-off-by: Anand Moon --- v1: drop the udelay changes. --- drivers/pci/pcie_dw_rockchip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pcie_dw_rockchip.c b/drivers/pci/pcie_dw_rockchip.c index 4e448c0a3d..bdc4d51007 100644 --- a/drivers/pci/pcie_dw_rockchip.c +++ b/drivers/pci/pcie_dw_rockchip.c @@ -60,6 +60,7 @@ struct rk_pcie { #define PCIE_CLIENT_DBG_TRANSITION_DATA 0xffff0000 #define PCIE_CLIENT_DBF_EN 0xffff0003 +#define msleep(a) udelay((a) * 1000) /* Parameters for the waiting for #perst signal */ #define PERST_WAIT_MS 1000 -- 2.31.1