Message ID | 20160901004036.23936-3-stephen.boyd@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.29.8 with SMTP id a8csp20375qga; Wed, 31 Aug 2016 17:42:50 -0700 (PDT) X-Received: by 10.67.23.70 with SMTP id hy6mr1346739pad.75.1472690568931; Wed, 31 Aug 2016 17:42:48 -0700 (PDT) Return-Path: <linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org> Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id g130si2369775pfb.296.2016.08.31.17.42.48 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Aug 2016 17:42:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bfG4F-0007gR-H0; Thu, 01 Sep 2016 00:41:19 +0000 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bfG3y-0007Y5-09 for linux-arm-kernel@lists.infradead.org; Thu, 01 Sep 2016 00:41:04 +0000 Received: by mail-pa0-x233.google.com with SMTP id hb8so23569634pac.2 for <linux-arm-kernel@lists.infradead.org>; Wed, 31 Aug 2016 17:40:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=v0CRberADOIE2bRQo/AD3ODg6LbcXxrRTUYOK98FmFU=; b=VCR3pwgDB+z06fnaA+2IlBQ8EHYmuywQxyizP/EgwwFJ1NRb6OVlXRLq5aHeX1EASx tvqdGyjCfcmRIt7vnXXgQLx6EC8lMPKhihC26HwsaL33mpE9TbwV8+Ts4frq0WLqmb6u PbN2oluTZukFhAcJYFpnOxB/xoFZN219eaQns= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=v0CRberADOIE2bRQo/AD3ODg6LbcXxrRTUYOK98FmFU=; b=IZjqFna019FctOp7hhQ5EMX32dzvy3lAbzGZ/ekbpYlubJDucnINp6yFajaK2h/mzo 2FQE9PUCza0Iu8nPddkM6avYXHG00Ef27XWOhTXuA6DnsYfQ0RhBDKS4e9fUpsBuNgCa Gzr29Q23K/zsUuKASqfM8YMaoaIhWSwvWG2Ul1t1++8v4K79qGdvcWWYghWYyELjEAoP A4TSKcHJtKlQx660uPp6ZsSxs/OzUlz5l/c6NXXR8lpCSvOXmiLExAPXZrp/ozCLrfno oFoFUjvypj4GyJy3dStf7W2iBHB1SlWW4cBEVgE6uP3OJUmLErFDFdybuAPOXMi0SBoD blMQ== X-Gm-Message-State: AE9vXwO3Wrf0jFoK8CjUx5WTG5V2I3p4IrMAcH1gtCxVNj1JDjfnpW076OjvZwV5/uCIgYZb X-Received: by 10.66.161.132 with SMTP id xs4mr21847662pab.140.1472690440389; Wed, 31 Aug 2016 17:40:40 -0700 (PDT) Received: from localhost.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id m5sm2292303paw.40.2016.08.31.17.40.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Aug 2016 17:40:40 -0700 (PDT) From: Stephen Boyd <stephen.boyd@linaro.org> To: linux-usb@vger.kernel.org Subject: [PATCH v3 02/22] of: device: Export of_device_{get_modalias, uvent_modalias} to modules Date: Wed, 31 Aug 2016 17:40:16 -0700 Message-Id: <20160901004036.23936-3-stephen.boyd@linaro.org> X-Mailer: git-send-email 2.9.0.rc2.8.ga28705d In-Reply-To: <20160901004036.23936-1-stephen.boyd@linaro.org> References: <20160901004036.23936-1-stephen.boyd@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160831_174102_110198_77F621E8 X-CRM114-Status: GOOD ( 11.09 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:400e:c03:0:0:0:233 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Felipe Balbi <balbi@kernel.org>, Arnd Bergmann <arnd@arndb.de>, Neil Armstrong <narmstrong@baylibre.com>, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.or, Bjorn Andersson <bjorn.andersson@linaro.org>, Rob Herring <robh+dt@kernel.org>, Peter Chen <peter.chen@nxp.com>, Andy Gross <andy.gross@linaro.org>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org |
diff --git a/drivers/of/device.c b/drivers/of/device.c index 8a22a253a830..6719ab35b62e 100644 --- a/drivers/of/device.c +++ b/drivers/of/device.c @@ -225,6 +225,7 @@ ssize_t of_device_get_modalias(struct device *dev, char *str, ssize_t len) return tsize; } +EXPORT_SYMBOL_GPL(of_device_get_modalias); int of_device_request_module(struct device *dev) { @@ -290,6 +291,7 @@ void of_device_uevent(struct device *dev, struct kobj_uevent_env *env) } mutex_unlock(&of_mutex); } +EXPORT_SYMBOL_GPL(of_device_uevent_modalias); int of_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env) {
The ULPI bus can be built as a module, and it will soon be calling these functions when it supports probing devices from DT. Export them so they can be used by the ULPI module. Cc: Rob Herring <robh+dt@kernel.org> Cc: <devicetree@vger.kernel.or Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org> --- drivers/of/device.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.9.0.rc2.8.ga28705d _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel