From patchwork Fri Nov 9 15:26:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10676181 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9FBBC5A4 for ; Fri, 9 Nov 2018 15:27:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E20728305 for ; Fri, 9 Nov 2018 15:27:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 82CA32ED55; Fri, 9 Nov 2018 15:27:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 38E8028305 for ; Fri, 9 Nov 2018 15:27:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=E6bY4ITN4jFKcaK/RjvyLDuriYJPh1El/GaNdvS5tzU=; b=j6re7pmNfHAUaa/rigft/Hu2wC 7/eQONKnv/BUilTPvwzBgj0ynIWFf8qZoHg+UfMgSH0AN2S790lzd/jzJCfN4k6bEx/e2dSm/BdEC OJbLz/+uYQNly9NioFXKDT32HHz9ggmWtgoYwDdEpJTl8lCl5tP/HlO3P199SehSA7njFkDSy3MPT HDcMO5RRafFrPymE9RK2WjDJ0/O8Au2Qk2SYG/XABhV/T+I7riaMk2B41YZ4wyoTE9axn6UISSKm1 j2D0sON0DpjrWo+edDnWkVs0ca8AAinRnyhuC0q4u3Z1LZK5JpZxB7XLDJCbJrHMc8VMGWc9n2obk wkKAJM2w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL8h6-0002tH-E4; Fri, 09 Nov 2018 15:27:36 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL8gp-0002YV-Lz for linux-amlogic@lists.infradead.org; Fri, 09 Nov 2018 15:27:22 +0000 Received: by mail-wr1-x441.google.com with SMTP id z13-v6so2320026wrs.3 for ; Fri, 09 Nov 2018 07:27:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Rnqj1RSACrpoiJ6ZlILbKKDFTmK1zLMegXgPkuofQ/I=; b=rq0f8ONcmMLZ9a8DbX4U5JNgKP4FvNdjdOqoMYUykt/lddV+NuFAlApoS7O7th+yJV qNqUMc4jOURwv6zEsWbeiU+Y1qpJwtbuh+6vpfGm4c1iAN1bRhnH7eEOT+eFFa/TW025 irEAKP375LEfVEPE16faKDwKx7zoO7mnOzyIxK9cM8r1pULXPg6GSncBbS7fcZgA/6RX l3TwGSW9+4UbaMB8YPsdQyw/oAQtMZUTqybUid+W0YXl8ez8h+PIkQW9OABLgtRwj7xk HBNze/4L/vzVTXerJ/QkYWvgxKG90jscbJbvqE+jFKQh/xgKTZToaFRDzYRJ6VoKNIPZ OqYw== 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=Rnqj1RSACrpoiJ6ZlILbKKDFTmK1zLMegXgPkuofQ/I=; b=FcjIDFUiPTp6FGvZ0p8jiRJs8jk8tp8do74QCoeGpeyZ2SqjbgG03kNINgAvuMeQl3 seba7jN2TMhVgI1TYEaiIWTLpcP9VVAvikWD9ZWrzb5T4vsBxNG8Lzy+nWqFsdfaNhCS fODZH+G0oXP2B7n1rxI3KT+OP3SsNGPAPAD9+ACUnxHH1m90LgHGdBhyBv2eH7OsNfv7 1GBPEWyVZV90KZMj3ZUYLCvaMhOGMh4JSg672ZyJV5U+Rc/UBdriD+J1FgPpByyFCZdz OiGSLzOKhHty8m8t2nlaj/ESyfuTwI4N+52j67PWXd8Gfi4WzKJLDq8TsVZgrtqy7rkj taTw== X-Gm-Message-State: AGRZ1gLkSAY338PZDNINSLdcFehFwJqQk80s1sWOqWQs4Zt1PuF+GVuu R3b58WlHchjCEUQyTyONJs5w+A== X-Google-Smtp-Source: AJdET5fDtARcDSqqBf/ftxK82ZXrt+9eFkq/P+ySCwPiqdaiyDqS2cJzj1V8voUahkZytlUkRA0mVg== X-Received: by 2002:a5d:4483:: with SMTP id j3-v6mr8337646wrq.74.1541777231395; Fri, 09 Nov 2018 07:27:11 -0800 (PST) Received: from bender.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id a127-v6sm1748545wmh.24.2018.11.09.07.27.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Nov 2018 07:27:10 -0800 (PST) From: Neil Armstrong To: u-boot@lists.denx.de Subject: [PATCH u-boot 11/19] clk: meson: add static to meson_gates table Date: Fri, 9 Nov 2018 16:26:50 +0100 Message-Id: <1541777218-472-12-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541777218-472-1-git-send-email-narmstrong@baylibre.com> References: <1541777218-472-1-git-send-email-narmstrong@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_072719_761447_C28856A3 X-CRM114-Status: GOOD ( 11.86 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, trini@konsulko.com, Neil Armstrong MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The meson_gates table should be set static in the clk_meson driver. Signed-off-by: Neil Armstrong --- drivers/clk/clk_meson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk_meson.c b/drivers/clk/clk_meson.c index 236d734..509872b 100644 --- a/drivers/clk/clk_meson.c +++ b/drivers/clk/clk_meson.c @@ -79,7 +79,7 @@ static ulong meson_clk_set_rate_by_id(struct clk *clk, unsigned long id, static ulong meson_mux_get_parent(struct clk *clk, unsigned long id); static ulong meson_clk_get_rate_by_id(struct clk *clk, unsigned long id); -struct meson_gate gates[] = { +static struct meson_gate gates[] = { /* Everything Else (EE) domain gates */ MESON_GATE(CLKID_DDR, HHI_GCLK_MPEG0, 0), MESON_GATE(CLKID_DOS, HHI_GCLK_MPEG0, 1),