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: 995612 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="rq0f8ONc"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 42s40J2rw1z9s1x for ; Sat, 10 Nov 2018 02:32:32 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 0D26AC22595; Fri, 9 Nov 2018 15:32:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id C0DF3C225BD; Fri, 9 Nov 2018 15:27:23 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id CA456C2257D; Fri, 9 Nov 2018 15:27:17 +0000 (UTC) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by lists.denx.de (Postfix) with ESMTPS id 06AFFC22110 for ; Fri, 9 Nov 2018 15:27:12 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id b13so2288515wrx.6 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=mOEa4vCqyNtoFdNJfxVflWAOiLCVtjQ4f9CKXALJ3jTmGv+LgYc2koWPJaC+7sxU4O w3Oz0DQbtim7dX+9u+C6dtom1KhnjBGCaCAuMPwy3Lwi7wce6x903w4/Zmas/1fgzFZt UQ2FB0d0vd6SroaBmFnu3so2+qV/VDEQh6J0T0ZmbhpXO9zfF1JPIslkKfBTOBGV42oU K+XSbcQvWiB1n+6JaJaXO4btUqrRGnm+jGhTuJByMdFzijqTniLhH87FHJbxhR9W9pBJ cqG/FO8TaSPG9Y6EzU+ZwyWd6nNQ5UnkDZzrMNrspFg2y51R+p304FRotyjAqGS4i55X hd/w== X-Gm-Message-State: AGRZ1gIT9Kvf+i7Fz/ZBq9HhZ+c6FhqEP4kl+WgQWXfWpoD4Fyuxk31o AA7yPNnSggl4T3dnAnxCGjhyhJYTZMg= 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 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> Cc: linux-amlogic@lists.infradead.org, trini@konsulko.com Subject: [U-Boot] [PATCH u-boot 11/19] clk: meson: add static to meson_gates table X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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),