Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp642569ybf; Wed, 26 Feb 2020 20:14:17 -0800 (PST) X-Google-Smtp-Source: APXvYqz2lNS9RsfGUjcdiaL9ikdgc1fQwPl8c3v7lLBRecTs0+hs2H5Y1/PglF5RHCtb6TCH1NBV X-Received: by 2002:a05:6808:209:: with SMTP id l9mr1929150oie.112.1582776857463; Wed, 26 Feb 2020 20:14:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582776857; cv=none; d=google.com; s=arc-20160816; b=cGEdaJQPfCfzqLLxbi033Vg62E2ABmevcLePjQdiZh+vP+LIsAPbVFCNXmK2s8OzvV UnPG22YP2uF6x4R7+G7ZX767jHByLyQO8NEeOuV1TVD/DxukeW1yWde9XH8yohumzXrP wL2X7ZymoHsspLwVmZbXf5GsJeP+kZc8AeMK8Xla1qrqq16ZMXkE5v/+zg7iauSgCdmz 5z30Q0GQmTO9A+Wi/oCd6yRCKOP58+pspM8rHboiGllVBk+0Eq2sCdc8W5fovPNEvCit p9tbBn3zG3qsjWprlHFhqSGtAUHQkmCYSSzeZTX0a1GUZDgXQYeYJlugDBZpZj6Ds6ap NjDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=SIAgH7rKdUKGoshqIOin6FqO+krncW7FxfqiqFVRH3w=; b=TDGC4raG/nN/0+mWEvolzLR680hC7wmHQz3BbzyXBgsgJJQus1kmQk1+9UW+BVWAFS 6VCBXLuWgBAxF6zQnji4evxJ9SjqDsng23Gh1kJZaHpjqiP8AKINn+XtDm30kGav0MpZ ycju5etzVc6bBoSw4kAIGIAZXJMZ6wDfP0XIOJgWjqkwJ3TVZBK4acO1lmNqmIEQNF+0 MnnMHZle/VZN7hJSJppKbMRDkmwjdePLcNosa3HHYaRVy/d6wj5x18r6rKFONeuciHN8 Ai9bwcPurYTgSfN8PwbQfFBLjzd2VqrZysRsiujdw9TT4kDVyNAmkRDVHOpo6lXk6PZ8 A/Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CMgGP9Jr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id a23si608418oie.81.2020.02.26.20.14.04; Wed, 26 Feb 2020 20:14:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CMgGP9Jr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728320AbgB0EN7 (ORCPT + 99 others); Wed, 26 Feb 2020 23:13:59 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:33352 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727735AbgB0EN6 (ORCPT ); Wed, 26 Feb 2020 23:13:58 -0500 Received: by mail-pj1-f65.google.com with SMTP id m7so2791854pjs.0; Wed, 26 Feb 2020 20:13:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=SIAgH7rKdUKGoshqIOin6FqO+krncW7FxfqiqFVRH3w=; b=CMgGP9JrpMJQQXJGeatjrkj3DhC95cRF/uucrCugOk8qmgtm2tkaH9kSCaLsreQiSR wQrsAxHBI1A4ucPxyHzVI7tTkvD8pgPIZ8TQBFnyOkNSEDE+JGN9wASK06wh0D6S6y9Z WqIOIlaNcnQz6byvBs2HXlpxMz15pa6lwmtw9xFPg4LrdY/hvi1bbEEXjIa2SiBxV427 V60Pw/pIw8O+etZkf8N2/3xgCt+KHNcvRD3xYu+g3iPShW8JlfQuISQAVTPu16aDq/CZ V8DXdP9bzm/mowKy3RXjxmV9gjtG4lrcKE2FNldtHMCSR6hlfhPBMSOfLbszDQ4RiiTv kq4w== 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; bh=SIAgH7rKdUKGoshqIOin6FqO+krncW7FxfqiqFVRH3w=; b=IInvClpL20AcEi8UFJ+ira5r01LkaVPugpQASBAWqSb0/LoiZ3PJKzol62aRrU7HG0 xiQmQLrWxmWp/atxe5K4QPC2kRplMRkmLaAV5UsU4iikQ9Ws5CuApKaGEHpJ0CrE9wfA yPM/XcToAhFbGDsYAprnMje/G70jdPx/pwn7lNRaMn9FnVnbDNqXB6HY8KQyBhWH8CbV +46kB4E0rCWqubSlZO5Dg8X9ZawD3uZoEIVtlb6aibuV7rsCcwiiSUEUg1OlhU2iZbcV XLbX+1B8GtumYEF9LLmY1Ren9XFY6tM41gDiYev8rYvXhmlwP3OZcj67xaryaDB2IDOP pmtA== X-Gm-Message-State: APjAAAVmT0Ut6+4Io/lijt3T38wX9BK4L+pnN8IbUu0Sbl7S7gqp45MK UwbYHxQXk/AxEzaUhuEqrvs= X-Received: by 2002:a17:90a:cb0f:: with SMTP id z15mr2706443pjt.67.1582776837522; Wed, 26 Feb 2020 20:13:57 -0800 (PST) Received: from sh03840pcu.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id c1sm4729856pfa.51.2020.02.26.20.13.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Feb 2020 20:13:57 -0800 (PST) From: Baolin Wang To: linus.walleij@linaro.org Cc: orsonzhai@gmail.com, zhang.lyra@gmail.com, baolin.wang7@gmail.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] pinctrl: Export some needed symbols at module load time Date: Thu, 27 Feb 2020 12:13:46 +0800 Message-Id: X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Export the pin_get_name()/pinconf_generic_parse_dt_config() symbols needed by the Spreadtrum pinctrl driver when building it as a module. Signed-off-by: Baolin Wang --- drivers/pinctrl/core.c | 1 + drivers/pinctrl/pinconf-generic.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c index 446d84f..893b1ac 100644 --- a/drivers/pinctrl/core.c +++ b/drivers/pinctrl/core.c @@ -176,6 +176,7 @@ const char *pin_get_name(struct pinctrl_dev *pctldev, const unsigned pin) return desc->name; } +EXPORT_SYMBOL_GPL(pin_get_name); /* Deletes a range of pin descriptors */ static void pinctrl_free_pindescs(struct pinctrl_dev *pctldev, diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c index 9eb8630..dfef471 100644 --- a/drivers/pinctrl/pinconf-generic.c +++ b/drivers/pinctrl/pinconf-generic.c @@ -286,6 +286,7 @@ int pinconf_generic_parse_dt_config(struct device_node *np, kfree(cfg); return ret; } +EXPORT_SYMBOL_GPL(pinconf_generic_parse_dt_config); int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev, struct device_node *np, struct pinctrl_map **map, -- 1.9.1