From patchwork Wed Dec 28 22:56:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 9490797 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D03CA62AB0 for ; Wed, 28 Dec 2016 23:03:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB15A26242 for ; Wed, 28 Dec 2016 23:03:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AFEB126419; Wed, 28 Dec 2016 23:03:52 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D3B626242 for ; Wed, 28 Dec 2016 23:03:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752206AbcL1XDu (ORCPT ); Wed, 28 Dec 2016 18:03:50 -0500 Received: from mail-pg0-f46.google.com ([74.125.83.46]:34366 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752082AbcL1W5Q (ORCPT ); Wed, 28 Dec 2016 17:57:16 -0500 Received: by mail-pg0-f46.google.com with SMTP id y62so107846983pgy.1 for ; Wed, 28 Dec 2016 14:57:16 -0800 (PST) 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=81KkCw2DVYy5PtB5wMXEazNHAW16a5PfBHtFOHegx9k=; b=L0EDvWzjXRsnqYXzADHW8deGKeJgZfFquLHm0Qn4K0gyKEw/Nj9EnQDWXMj4lu2mKK GAWBpQRGVWZm6ma1cgwT/wO4/TgIdC/75TmagX85VyBEyXJbie++woV8pAGNIB3xe0HK XeXnAw6ozcHcNOwwfWPvFlc4zngOWTRNRH1Fk= 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=81KkCw2DVYy5PtB5wMXEazNHAW16a5PfBHtFOHegx9k=; b=mcj8e7q5AuqmEFzGoyGMRttElOlhU0IrF2lcODCdc3u4R/Q2t4g71OU4vsRK+9ZWsS FfUn+wLMwqEQn3evhBrdR3KcyHOT6lNjnLsONyOpN6tNsx2DhNXjE3ufgWjmc40n7b5G zdjF6IwUb65nnPL3a3WuYfl/PCjQldf9HpgWAHyKIVP91KsjNNJ1Lus748tJ43tu7m3f OXU+fFW9hyzpUnVtZn5APt/n8z1jNYXr1XHlxaaWMBGAp34yrIOnmyLXMnVCEwWKnoaR /i3zkv6f5cHGx7s/ge9Q91E2/OZTQd3GExS6OEZF2pBqSSYAB0BjezWqV3FiRD+HTdJE 8eCg== X-Gm-Message-State: AIkVDXIe6BHtJOIc3XIh8rO67V3OncDvRSWIA0rjpuCX1TIOi7n2ZnJpdS+0P6uAmvMiiFa5 X-Received: by 10.98.14.82 with SMTP id w79mr36083427pfi.153.1482965836026; Wed, 28 Dec 2016 14:57:16 -0800 (PST) Received: from localhost.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id x4sm100355741pgc.14.2016.12.28.14.57.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Dec 2016 14:57:15 -0800 (PST) From: Stephen Boyd To: linux-usb@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Andy Gross , Bjorn Andersson , Neil Armstrong , Arnd Bergmann , Felipe Balbi , Peter Chen , devicetree@vger.kernel.org Subject: [PATCH v6 02/25] of: device: Export of_device_{get_modalias, uvent_modalias} to modules Date: Wed, 28 Dec 2016 14:56:48 -0800 Message-Id: <20161228225711.698-3-stephen.boyd@linaro.org> X-Mailer: git-send-email 2.10.0.297.gf6727b0 In-Reply-To: <20161228225711.698-1-stephen.boyd@linaro.org> References: <20161228225711.698-1-stephen.boyd@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. Acked-by: Rob Herring Cc: Signed-off-by: Stephen Boyd --- drivers/of/device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/of/device.c b/drivers/of/device.c index 8a22a253a830..b1e6bebda3f3 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) { @@ -310,3 +311,4 @@ int of_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env) return 0; } +EXPORT_SYMBOL_GPL(of_device_uevent_modalias);