From patchwork Fri Oct 2 22:07:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 7319271 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A7D0F9F32B for ; Fri, 2 Oct 2015 22:08:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E9225208AC for ; Fri, 2 Oct 2015 22:08:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1348E208AA for ; Fri, 2 Oct 2015 22:08:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751798AbbJBWIL (ORCPT ); Fri, 2 Oct 2015 18:08:11 -0400 Received: from resqmta-po-10v.sys.comcast.net ([96.114.154.169]:52026 "EHLO resqmta-po-10v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751635AbbJBWHk (ORCPT ); Fri, 2 Oct 2015 18:07:40 -0400 Received: from resomta-po-01v.sys.comcast.net ([96.114.154.225]) by resqmta-po-10v.sys.comcast.net with comcast id QN7g1r0054s37d401N7gqd; Fri, 02 Oct 2015 22:07:40 +0000 Received: from mail.gonehiking.org ([73.181.52.62]) by resomta-po-01v.sys.comcast.net with comcast id QN7f1r0021LXgTt01N7fj3; Fri, 02 Oct 2015 22:07:40 +0000 Received: from lorien.internal (lorien-wl.internal [192.168.1.40]) by mail.gonehiking.org (Postfix) with ESMTP id 66803A1638; Fri, 2 Oct 2015 16:07:37 -0600 (MDT) From: Shuah Khan To: mchehab@osg.samsung.com, hans.verkuil@cisco.com, laurent.pinchart@ideasonboard.com, sakari.ailus@linux.intel.com, tiwai@suse.de, pawel@osciak.com, m.szyprowski@samsung.com, kyungmin.park@samsung.com, perex@perex.cz, dan.carpenter@oracle.com, tskd08@gmail.com, arnd@arndb.de, ruchandani.tina@gmail.com, corbet@lwn.net, k.kozlowski@samsung.com, chehabrafael@gmail.com, prabhakar.csengg@gmail.com, elfring@users.sourceforge.net, Julia.Lawall@lip6.fr, p.zabel@pengutronix.de, ricardo.ribalda@gmail.com, labbott@fedoraproject.org, chris.j.arges@canonical.com, pierre-louis.bossart@linux.intel.com, johan@oljud.se, wsa@the-dreams.de, jcragg@gmail.com, clemens@ladisch.de, daniel@zonque.org, gtmkramer@xs4all.nl, misterpib@gmail.com, takamichiho@gmail.com, pmatilai@laiskiainen.org, vladcatoi@gmail.com, damien@zamaudio.com, normalperson@yhbt.net, joe@oampo.co.uk, jussi@sonarnerd.net, calcprogrammer1@gmail.com Cc: Shuah Khan , linux-media@vger.kernel.org, alsa-devel@alsa-project.org Subject: [PATCH MC Next Gen 05/20] media: Media Controller export non locking __media_entity_setup_link() Date: Fri, 2 Oct 2015 16:07:17 -0600 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1443823660; bh=ozWVisfl9txq7tkvH4vcQezQfu4Oy0lsXy4rYz/tyFM=; h=Received:Received:Received:From:To:Subject:Date:Message-Id; b=hiWonETWaOkCxPGfnriets3i9/nOzaLRAXHzoC1PrtxnYNHYZsZ9rp2GndH70xuOU YmM2E0n3rSzi9uoAY3o0giUICAt6ZWO4nhJ2vYlubZMTci+mF3qTQC6AqjtgmGP21Z Xsm3RVg8N7NhooaJlSLjEt7ifksgwLMHnx9OWRBZEamVV+N93ImC9zfDJbyK5wuh/J mgI3A+XtAVzgDz4UAd9jQJ80mLT/o3ghJsfmk60uIaxA3OTZGGy6GiG2j71bIu7nrR vZrBEXfHeAO9EpYdDBtTBuQ/r41d3iGrhkVcG3N6oMn0u3oyBHj5xQv9Gjrr0WQZEO oEow+WS/L6mcA== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Export __media_entity_setup_link() to be used from code paths that hold the graph_mutex. Signed-off-by: Shuah Khan --- drivers/media/media-entity.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c index 797b7b3..49a8755 100644 --- a/drivers/media/media-entity.c +++ b/drivers/media/media-entity.c @@ -811,6 +811,7 @@ int __media_entity_setup_link(struct media_link *link, u32 flags) return ret; } +EXPORT_SYMBOL_GPL(__media_entity_setup_link); int media_entity_setup_link(struct media_link *link, u32 flags) {