From patchwork Thu Jul 7 22:20:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 71624 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp126007qgy; Thu, 7 Jul 2016 15:21:38 -0700 (PDT) X-Received: by 10.66.52.106 with SMTP id s10mr4167625pao.65.1467930098187; Thu, 07 Jul 2016 15:21:38 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tv9si356088pac.85.2016.07.07.15.21.37; Thu, 07 Jul 2016 15:21:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; 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-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932261AbcGGWVc (ORCPT + 8 others); Thu, 7 Jul 2016 18:21:32 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:33360 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932145AbcGGWVV (ORCPT ); Thu, 7 Jul 2016 18:21:21 -0400 Received: by mail-pf0-f169.google.com with SMTP id i123so9703178pfg.0 for ; Thu, 07 Jul 2016 15:21:20 -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=X8H9QXIHBvb/JQyCDWV39cJ4D4KABJ+2CKIbHeyF8y0=; b=iCj4SDtkoIU3J45CekRbrQAH4nLGkS7abdQ2i7eqcw+vXST5dDm63/nHFQpMpAjpz+ SH4JSyNovgKT0C7ifq+nEq8aaoe2aPVBoLUmZ/qSSTvgz7Kg04BY9qRBOEaQ95tcdzGf qezvB/7WxxEe4CfICFJbyA5gCqlGBKx3bCXqQ= 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=X8H9QXIHBvb/JQyCDWV39cJ4D4KABJ+2CKIbHeyF8y0=; b=TwF9DuDEL0fMWEn0mYV3vty/fyEq59v8UTHxwi9LffMTarLO3KcAQkIvBOw5S8z66L nPgxAca9KnRTnggYdTqOv0xmhh975Mp75NjRacpkBo/OgSx5PszN3MHqd9BG001J0HAu YgU6Y7Mlg0ybXb6CYgX3kql8QSgVIl7zVwpm/TQtCgx8OQKTJmT7WNJxqAluJTb21QVZ aaRozwWGzuExVCkGBTP9YnWTyYiixB+t1wSZP2fVnly3gFa+SXKqYzjxNQVloGmSlgdB wyMQM5C6Si8YRny3y78c+87smh+SNq5BZOOLsZgvR941AZona42Seh24UoWpf0aWgJMI alog== X-Gm-Message-State: ALyK8tJ1jrnMSLSN8KGdbQkDr/qY8lSkoWBqEY25kL29P7vNbJ5LAEY5jSt6zaI77ndy2VbO X-Received: by 10.98.100.14 with SMTP id y14mr4297677pfb.84.1467930080481; Thu, 07 Jul 2016 15:21:20 -0700 (PDT) Received: from localhost.localdomain (ip68-101-172-78.sd.sd.cox.net. [68.101.172.78]) by smtp.gmail.com with ESMTPSA id j8sm6781807paj.22.2016.07.07.15.21.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jul 2016 15:21:19 -0700 (PDT) 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 Subject: [PATCH v2 02/22] of: device: Export of_device_{get_modalias, uvent_modalias} to modules Date: Thu, 7 Jul 2016 15:20:53 -0700 Message-Id: <20160707222114.1673-3-stephen.boyd@linaro.org> X-Mailer: git-send-email 2.9.0.rc2.8.ga28705d In-Reply-To: <20160707222114.1673-1-stephen.boyd@linaro.org> References: <20160707222114.1673-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 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. Signed-off-by: Stephen Boyd --- drivers/of/device.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.9.0.rc2.8.ga28705d -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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) {