Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp751273ybg; Tue, 9 Jun 2020 11:53:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0sCUuNpQk69GSUdktLpSJD59mXpFVvSpqdXLj+eE8Lce9u79Se8mi7BzenZGNF2aLKlaT X-Received: by 2002:a05:6402:1767:: with SMTP id da7mr28727088edb.90.1591728791155; Tue, 09 Jun 2020 11:53:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591728791; cv=none; d=google.com; s=arc-20160816; b=hT/dglZksKdp/5BeBMuKpJVeQkjLsNdEXwCTE/EtqXzJ7CE2zAuvYgOyKnP/f42Rts BSiVYc6sekFbiTrlw29uo8XQNKMSTN1HWHjwPDzJyvpTht/egl0SoUinYVN/jSox4sky CqSsVcZculWKjqAdTLkG9yMsNyiHqsiK35lKli3XxFb0tD9kG8+PR467KwlX6pBl1sBw HPeCYkvmwO/G5oEMgJHUiPXaKxV363jUkLA8ZFiSb4CEF51/P3puqQkC/RENOGSiuYYs /dF8kOzmCCib8yxHZQbPB+OufEtBvqodnZxfzTKf93U0FvOqN5GRYvShC4oNbcOWPjs4 w7Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tzjWXOFJZUWh4EJTzInOXHHEbdt+siqMf/YejHURVDA=; b=k2M+sDVh6/zOHMbK8PagQfIm0Enw4Z31fyrfihRGzaTpml3jaTMZ/O0dF4J3CVoHo7 6p1Vj3qrwF240oTmYjaymS1b2+iYF2VadFyQSraBk+D6y4oEJv1QEoFGnLzDIDAizZBP 1fMk8+jxhoVUihcSS2KvsxH/7JrK3JKGBCUwtY3f/50oJeGsTUkDcI1CWh9pRbNP1hGr 5SFe9b+w77Ci3mNO6UYYn8Z/uNbymfXKCMfTC7GbKRqrxSPG0kDmdYZtCTHsr9nEBTvG 2TvEG8YB0QuDluGnf50poN5Txv56Fw5XRnIe4OZqG72/F8gt5a29aRprZ2YVlpN22DfC ueZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VnryWu+a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz28si10882795edb.384.2020.06.09.11.52.48; Tue, 09 Jun 2020 11:53:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VnryWu+a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728708AbgFINST (ORCPT + 99 others); Tue, 9 Jun 2020 09:18:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729023AbgFINOh (ORCPT ); Tue, 9 Jun 2020 09:14:37 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CA4AC08C5C2; Tue, 9 Jun 2020 06:14:36 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id 202so12459918lfe.5; Tue, 09 Jun 2020 06:14:36 -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=tzjWXOFJZUWh4EJTzInOXHHEbdt+siqMf/YejHURVDA=; b=VnryWu+aK7L0DcpiyL1N3EE7vSAAw1+NT32TBAV1tcBb/suSZax3CH7mFh6FHpLDM8 87OUFDzWVfo6qk3nbUEHkvI9kH21D+K6986gejHq+PeXGdN5AsW1CZIGo+SIbcMz7F0J +F4XLpJCSLPHX/BpmPlFdGd/Ur+gu3ozUYLTCQMGnaBERJYvYSNUL0bDKIG5DxlVBljg cqNlOz1kuqV60AHRNZuWl3kxJm78d4zTyXd1IFik28f9SlGmfBeovETkWgYl1dbbS1bf SHgzmt9BMXIUa+oqWX/w6adLSx8GqSkglDqU9Yg3+TnkUfxTPqvXnDhFQCIQs+Ujp11A YrbA== 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=tzjWXOFJZUWh4EJTzInOXHHEbdt+siqMf/YejHURVDA=; b=WZ982JHuvyTF76S+Cb+nlAILmp7lHMtMydJE7Mh2F8poRxbPg7V8ja5cB8iPyTb6z0 TcBdyRPZGJA6uP689vjg8zdAWbMOR7vmzlgm8K2Pt6kiQtPl3w6Mq/3cPAoeogvcBZPp 3TPDrfVzX49ymFaPU9PrRMv7GOcmA9EM7h4hUKzo3r8QzpAq2c5QqBsIjJFHGpFeOvLN 1ipX2bP1nARHy+6vT6Hwwk691PuowZlrOkAcno6/cFpGtz+DiQHi+9AU5kGoQwb/GsTL xoENl/SCzyk7404BHh8FkLpx+84WsFVsdqnpwPmUCv1MVnL87FQ9dopZ4KNvfF8+rfzU 5/2w== X-Gm-Message-State: AOAM531LAhms8rzrSXQ314nbOdMRKK7QZzNyDFB3WwlVAgmmgtbWEhoN N9NZlGw4q8naVBqvv39oZgw= X-Received: by 2002:a19:6914:: with SMTP id e20mr15497190lfc.27.1591708474918; Tue, 09 Jun 2020 06:14:34 -0700 (PDT) Received: from localhost.localdomain (79-139-237-54.dynamic.spd-mgts.ru. [79.139.237.54]) by smtp.gmail.com with ESMTPSA id l22sm4323522lji.120.2020.06.09.06.14.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 06:14:34 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Georgi Djakov , Rob Herring , Michael Turquette , Stephen Boyd , Peter De Schrijver , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Mikko Perttunen Cc: =?UTF-8?q?Artur=20=C5=9Awigo=C5=84?= , linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH v4 08/37] soc/tegra: fuse: Export tegra_read_ram_code() Date: Tue, 9 Jun 2020 16:13:35 +0300 Message-Id: <20200609131404.17523-9-digetx@gmail.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200609131404.17523-1-digetx@gmail.com> References: <20200609131404.17523-1-digetx@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The tegra_read_ram_code() is used by EMC drivers and we're going to make these driver modular, hence this function needs to be exported. Signed-off-by: Dmitry Osipenko --- drivers/soc/tegra/fuse/tegra-apbmisc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/tegra/fuse/tegra-apbmisc.c b/drivers/soc/tegra/fuse/tegra-apbmisc.c index 3cdd69d1bd4d..b3c930b805c5 100644 --- a/drivers/soc/tegra/fuse/tegra-apbmisc.c +++ b/drivers/soc/tegra/fuse/tegra-apbmisc.c @@ -3,6 +3,7 @@ * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. */ +#include #include #include #include @@ -65,6 +66,7 @@ u32 tegra_read_ram_code(void) return straps >> PMC_STRAPPING_OPT_A_RAM_CODE_SHIFT; } +EXPORT_SYMBOL_GPL(tegra_read_ram_code); static const struct of_device_id apbmisc_match[] __initconst = { { .compatible = "nvidia,tegra20-apbmisc", }, -- 2.26.0