Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752087AbdGYV1H (ORCPT ); Tue, 25 Jul 2017 17:27:07 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:60826 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751843AbdGYTRd (ORCPT ); Tue, 25 Jul 2017 15:17:33 -0400 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, Stephen Boyd , Peter Chen Subject: [PATCH 3.18 56/60] of: device: Export of_device_{get_modalias, uvent_modalias} to modules Date: Tue, 25 Jul 2017 12:16:47 -0700 Message-Id: <20170725191622.090725432@linuxfoundation.org> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170725191614.043749784@linuxfoundation.org> References: <20170725191614.043749784@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1060 Lines: 38 3.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Stephen Boyd commit 7a3b7cd332db08546f3cdd984f11773e0d1999e7 upstream. 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 Signed-off-by: Peter Chen Signed-off-by: Greg Kroah-Hartman --- drivers/of/device.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/of/device.c +++ b/drivers/of/device.c @@ -128,6 +128,7 @@ ssize_t of_device_get_modalias(struct de return tsize; } +EXPORT_SYMBOL_GPL(of_device_get_modalias); /** * of_device_uevent - Display OF related uevent information @@ -190,3 +191,4 @@ int of_device_uevent_modalias(struct dev return 0; } +EXPORT_SYMBOL_GPL(of_device_uevent_modalias);