From patchwork Fri Nov 17 13:38:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 10062753 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 8E3B860352 for ; Fri, 17 Nov 2017 13:41:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7CD892ACC4 for ; Fri, 17 Nov 2017 13:41:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 71A602ACC6; Fri, 17 Nov 2017 13:41:21 +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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CB3112ACC4 for ; Fri, 17 Nov 2017 13:41:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wqGZt3fjqvKrkz8MLeLkWa2nPoroRav67JxNjMpe16U=; b=E7JMVxLWXH9xDF MPJ6FYvoyLO5IkltXyS7/LdA+WLR9rgOnQ5W8pCCTn4dqGf08Pt/Rj2a0I4QuoXoI7EFQlHm1FOv4 irakkCa7bEeq9MFB+H3eF0OVa/+kSQ3jscYaYE3P5k1VNnE7vyVok3hGTETtwUpDmATt794Mt5ofj f6X02y5KaGBnCjMn6sHVd5WVIgu3wGg6fxQJUaIQufpNdfTBkTRsrEJCam7fYZGSXnV4dl+UzMB4A 41ozi42WIqLF4dhWybfaElP0FlvR7Ssj2u/PMuR7G10A6rIo5Fdd5dGuNRLS1p/7l+AUMMqvlzT8G lAh/Hw4q8y6b63EYjklg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eFgtT-00013y-SI; Fri, 17 Nov 2017 13:41:19 +0000 Received: from mail-dm3nam03on0052.outbound.protection.outlook.com ([104.47.41.52] helo=NAM03-DM3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eFgrg-0006Zt-F1 for linux-arm-kernel@lists.infradead.org; Fri, 17 Nov 2017 13:39:41 +0000 Received: from CY4PR03CA0020.namprd03.prod.outlook.com (10.168.162.30) by CY4PR03MB2694.namprd03.prod.outlook.com (10.173.43.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.218.12; Fri, 17 Nov 2017 13:38:54 +0000 Received: from BY2FFO11FD026.protection.gbl (2a01:111:f400:7c0c::139) by CY4PR03CA0020.outlook.office365.com (2603:10b6:903:33::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.239.5 via Frontend Transport; Fri, 17 Nov 2017 13:38:54 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD026.mail.protection.outlook.com (10.1.15.215) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.218.12 via Frontend Transport; Fri, 17 Nov 2017 13:38:54 +0000 Received: from fsr-fed1964-102.ea.freescale.net (fsr-fed1964-102.ea.freescale.net [10.171.73.17]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vAHDcbAo004692; Fri, 17 Nov 2017 06:38:50 -0700 From: To: , Subject: [PATCH 05/10] staging: fsl-mc: consistently use EXPORT_SYMBOL_GPL() Date: Fri, 17 Nov 2017 15:38:29 +0200 Message-ID: <20171117133834.4635-5-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20171117133834.4635-1-laurentiu.tudor@nxp.com> References: <20171117133834.4635-1-laurentiu.tudor@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131553995344223348; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7966004)(336005)(39860400002)(376002)(346002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(106466001)(86362001)(356003)(16586007)(54906003)(47776003)(85426001)(110136005)(50226002)(575784001)(36756003)(6666003)(7416002)(2950100002)(5003940100001)(33646002)(498600001)(316002)(77096006)(6636002)(104016004)(5660300001)(305945005)(189998001)(105606002)(8656006)(8936002)(97736004)(4326008)(81166006)(68736007)(50466002)(8676002)(48376002)(53936002)(39060400002)(81156014)(50986999)(1076002)(2876002)(2906002)(86152003)(76176999); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2694; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD026; 1:FLxWjgIBxKWL5xTAltEk9s0T5pI6jVTV7lzw7ReBKJv+MjHPxPqsO4ZHMeAHN9/8fT1NYoSCOu2gKbiAdlieWPZ0HiehDi9JXrlnxif7cOKskR9SGfwK/Kj9QTsDCzbK MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: f77fc96b-b624-4364-3014-08d52dc08ba8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603258); SRVR:CY4PR03MB2694; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2694; 3:wu+9hkzgCb8zIDJu/8cU1LK/7xpjJRmMUnwrTnWXk/hd6SZGdVcLkDyk7zXqIk/418pqO0savAB6eIeeeMm76iM8Fp3Re3ju82UFGxUm/i9he2x/rSWp79WDoYpqxuyiGECol8OV76iPGMr1TGvdRgON/oLadr31cA2RoQxXZfGMNE6KVKDUE69wvCIwdDO2o73yLpcIG9tCtxUie8qVrnw1cJGJE8UpEVjK4szfWSpzLiqbfE9sPRQDZy3wEoCycNJ0yMwjMp2d41dCYV+TmQEL/ccQHLAa/WTzROaFMqv33ArbB94JxTh/tcyzfsgTZU0hod5OgeZxyzID4eTNtM4xFcTG+RDlyQH54x7ZY68=; 25:fdkd0VVkB3yQr0mFnYPx6zaBIAghrr1Yzs8dtSA642Yt/rYS38T7g3KF313g8lm5xW7Il7pa4G1+jvE0UWefZ8BYDTy4AE3mkq/iEdXCBdxsBbyvFYd3qoL5GIxi6MImEDbRnT0ya8fBc7bdrxrkQ4jmrFpgctsGF5frBJJ8KpncP0rwXfKITnwuf4DlAkCpJ7g6grvVcXQ1lPuKYVO0FjbWpiKmJ39BnjTqIP6PzA0zb5tIHQxrJR2MkSGu0TLGU1bQmC1Mviz1R7iUXks3h9SM415OZlOWgeh6gohzcv26b9PmWdSezYqxmJ6LtPgJFNdAAl9kfvQSCnPXJ7IfDQ== X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PR03MB2694: X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2694; 31:12oqaeNyYbW1uge638NjRubyBqRdkyyh/3sVqgUFU0PZtY6Ouh0OjN/01UM0Q6fjCSzls3Cv49Rku+jBu5WMWXhe7fjB8cKTVZ069YiyTl08Sx8Ya1HmM+1miPUWhF34D0sy7U7wyW2sIqBIkx6YDjPlIc4PJjlduCMhF1DM08kZDvM78y+SH9ol5MpmyXIm9Ji8SWFP9FoTQ0yfuywvXiOxbIYjS42y5wQNvbgiq7M=; 4:7+rndq/ZZfmUo0HnmUoeDGOBLDgLMJti2SKnmry2UWzynD780QhH0tGpzrGq3h1kdl7NxCh1b77zBekLYIL8881tD3qoF3SzHj1paUJFFFHVqArfUZOUhxH3fGZItCvRBJNV0yW6aS3TEdFx+tvKG79POKJLDK4GNieOi/MiZCmCtnuttmrEgyG/d/nVBl31lj2CdrLM61TVhIiGPcxzneW9conCzD1k+v7HS4MtW9O0O4/F2o4N25yEL3eq4a0RkasUI4cIDf6LN5flsWsnLkLIi3g3ye/ITb0X5lDUIuE4Vgdy//abyGhrNxPcY71v X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231022)(3002001)(100000703101)(100105400095)(6055026)(6096035)(20161123565025)(20161123559100)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123556025)(20161123563025)(20161123561025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR03MB2694; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR03MB2694; X-Forefront-PRVS: 049486C505 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2694; 23:z4Y+6q/l9mqycEQQtbKHizskzxHVWvBY/5yCgTaDt?= =?us-ascii?Q?YGVYw75T38QK/PhyOHT4r4lAPbBf8J1NO8ZDLpjdSrgdRodzQxsMtnquwPRp?= =?us-ascii?Q?rHWkKt7xfEhF3/NV3witpXzkbHVBB+2H3aHb2eZVAEDTDsAw45pGGfv69wjb?= =?us-ascii?Q?upl7nQrQdtSguCWBNwselyYFqW0b129dWB3SK7g8655O0XsFYink9Caxy5Q7?= =?us-ascii?Q?dEJMVcKZHorNW1GTG4LXXgJRZqpo9c46YdVUIJFmHvERYHGRcBy9X4i6YOvG?= =?us-ascii?Q?1KwDeAYzYjbM0zI43bzRiv6LrTip1mDo7IpCCmE7zlLNs0XRbgh+jdO/M+nt?= =?us-ascii?Q?4T0l4V682e5r/+cuonCYJHpDMwVg/fLFIi/7scLYedFJ2UeE7ClHqmcbSISU?= =?us-ascii?Q?jvpMl1A8TpL2VpJqJ0vxZrxgADqiUbxmsmB8jitcTWt3g0n3E8fGRFB/lu6e?= =?us-ascii?Q?NetvNfteKMUO2TpoeqJ9Q7SFltzK4r2bXaxvrxVfmLGe/uL2tZ5dhjxFrC/7?= =?us-ascii?Q?Jzjxtns6K10XIr0peKY++h8zGaAzRnR4MNpve5Oa3fkRST3foKex/e7uQZWn?= =?us-ascii?Q?SGYjpfYzEFy5B2U2hqyPzFC1dg0k/Q5qeVxh/9xfWV9UpVCDtyczYpSUfS+y?= =?us-ascii?Q?+8gjmO792bj+TDx8dCV9HwT9gmyBLYnx2ouX0mkG0uhYd7I67rGUdMngeAqv?= =?us-ascii?Q?Yp9tXbyB5noAatx/xZ1f6xHU3B1A2yMhuAGrSsnfrbzb+Fa8UVqJ117xKH+4?= =?us-ascii?Q?1STMDoYzS1g9xRK7SvQ1ofkggORP4H+FYwKTyPnMdLgdAwsgMlHHdcz4f1Y6?= =?us-ascii?Q?OWt11+NT6J1pv35hTs9qKd0w6CHjpO+HaPHfOwVUJKnqW1lCt0duYylV10Xd?= =?us-ascii?Q?I7SLSQCdjHancELmL/LxgVGp1lTChE9VRzftgGbhAbLRj6vlsC5/jKhz+4pg?= =?us-ascii?Q?HXZtwEDLJmgKImKmbtDCG1JydaHRIrMjG7csWvgWVhgcdHHErt2kbDSolOcl?= =?us-ascii?Q?LweFywP2QU0ofYX9Flj/8JQP+TJIukOu/7lbZVjP5eCMhlNGn09ilG8Xe10h?= =?us-ascii?Q?0gdom1zUbY3kmkCRHsiCUpIGwHjOq/1RPC4i3n4Rwx/FHNPe8J7IxQAAMjNL?= =?us-ascii?Q?tGNn2qWX2QkEqQQ4tgTM1LhNJvPLeLudjRLQAgvK5FjzXk4kOmyzy7C/D12k?= =?us-ascii?Q?lVHYIWyisiCmnB85xcIkwnE5BDUmkyC5Ev1sQa0bdNVdnVL1pd/jqzPBpAyp?= =?us-ascii?Q?gvcsWSIQNuwGZV2eBV+4Juw9lhPmDpBZBZBAS3A9/JImWCJtgFET7GeyFGZH?= =?us-ascii?Q?O0+QX/rOtyAGp3qruoCYIA=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2694; 6:qKGImUulRZtjek/iAJF1XBgsq1ca74pxPGdT1o/xJ3tVfssmhoAER17khQdd6RgFiwCT5mBuw5Nw0xZ9CFHCqcecIW9z56wX9EOk2wDza+WMf+WTTJlYJCgLq00w7y6u+PUxIjYbyVOjuD1p6NGRhc0ZaZQ1+MZpH0VyEkZO7hF6+rxThUoD5AV76o3LjecrAHkmjrVC+fNwOUv+M/qkLLPCLi31AzdZ9TfG8riceybpCxuY7AsrD9FbqbqH14jnOdxkT0QnPPU0xqAqwKuNDEpsbBwAVcKuax8iAmDksJguDmJA3tUjZ+5UK5AEtfCdGqJ1CTAhfTwUwlpSN53SI9O1asgCCPFv1Dwks46FDAU=; 5:DlC3pHmj7JL5R8rpqSKqFWF1iwhwG0Lfm6bXd7Ds9vI0VIMlIfFwhLeKWO/cfHJ09FuXFHBftAulaEnueB7xg9coTbYoqDkaRxoNovpa51n9Kkcq8cgQ/74/nuBWDJS8C+CjfPiESXDaV156CYRkW13yneyK18iYMHrGnXz/Tvk=; 24:K/k6NtZvM9chjf+fwq7WWHJDOwMYXJ++Iqqtc8BWZankHG1uk/0MsQjQreFNV8NVh7zahRGe/f8HwvfxiVx6Aw3bApB/UEd7JbUpiOmsDPs=; 7:BvPMZ21oAGya7ATm+Tw/EOqm64nKAFmLFS7O+81MQ0eL+ab5brsLJu/WYSMh+DPlNyqv9v3IJ9h7qPW5028tSuN1fbstQfR+Wg4HtQyZPj0DJOPKraf+3MxbJzUQg9HsyH771sur8O3FezyAbfDwetqnrXLRkJc4fZoSy/h895QS3KNofAR4fgkHEUscdgRfsTdld3tVvleKmGP7vACzHndv68jSFQk7aaHnS24MHIdZWlpP7v96/3JYrEc+Nigr SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2017 13:38:54.0791 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f77fc96b-b624-4364-3014-08d52dc08ba8 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2694 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171117_053929_298439_C36B8A18 X-CRM114-Status: GOOD ( 11.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, stuyoder@gmail.com, roy.pledge@nxp.com, linux-kernel@vger.kernel.org, leoyang.li@nxp.com, bogdan.purcareata@nxp.com, linux-arm-kernel@lists.infradead.org, Laurentiu Tudor Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Laurentiu Tudor The bus driver is mixing EXPORT_SYMBOL()/EXPORT_SYMBOL_GPL() usage. Change it to consistently use EXPORT_SYMBOL_GPL(). Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/bus/dpbp.c | 16 ++++++++-------- drivers/staging/fsl-mc/bus/dpcon.c | 14 +++++++------- drivers/staging/fsl-mc/bus/dprc.c | 16 ++++++++-------- drivers/staging/fsl-mc/bus/mc-sys.c | 2 +- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/dpbp.c b/drivers/staging/fsl-mc/bus/dpbp.c index 363730a..fc76e90 100644 --- a/drivers/staging/fsl-mc/bus/dpbp.c +++ b/drivers/staging/fsl-mc/bus/dpbp.c @@ -77,7 +77,7 @@ int dpbp_open(struct fsl_mc_io *mc_io, return err; } -EXPORT_SYMBOL(dpbp_open); +EXPORT_SYMBOL_GPL(dpbp_open); /** * dpbp_close() - Close the control session of the object @@ -103,7 +103,7 @@ int dpbp_close(struct fsl_mc_io *mc_io, /* send command to mc*/ return mc_send_command(mc_io, &cmd); } -EXPORT_SYMBOL(dpbp_close); +EXPORT_SYMBOL_GPL(dpbp_close); /** * dpbp_enable() - Enable the DPBP. @@ -126,7 +126,7 @@ int dpbp_enable(struct fsl_mc_io *mc_io, /* send command to mc*/ return mc_send_command(mc_io, &cmd); } -EXPORT_SYMBOL(dpbp_enable); +EXPORT_SYMBOL_GPL(dpbp_enable); /** * dpbp_disable() - Disable the DPBP. @@ -149,7 +149,7 @@ int dpbp_disable(struct fsl_mc_io *mc_io, /* send command to mc*/ return mc_send_command(mc_io, &cmd); } -EXPORT_SYMBOL(dpbp_disable); +EXPORT_SYMBOL_GPL(dpbp_disable); /** * dpbp_is_enabled() - Check if the DPBP is enabled. @@ -183,7 +183,7 @@ int dpbp_is_enabled(struct fsl_mc_io *mc_io, return 0; } -EXPORT_SYMBOL(dpbp_is_enabled); +EXPORT_SYMBOL_GPL(dpbp_is_enabled); /** * dpbp_reset() - Reset the DPBP, returns the object to initial state. @@ -206,7 +206,7 @@ int dpbp_reset(struct fsl_mc_io *mc_io, /* send command to mc*/ return mc_send_command(mc_io, &cmd); } -EXPORT_SYMBOL(dpbp_reset); +EXPORT_SYMBOL_GPL(dpbp_reset); /** * dpbp_get_attributes - Retrieve DPBP attributes. @@ -243,7 +243,7 @@ int dpbp_get_attributes(struct fsl_mc_io *mc_io, return 0; } -EXPORT_SYMBOL(dpbp_get_attributes); +EXPORT_SYMBOL_GPL(dpbp_get_attributes); /** * dpbp_get_api_version - Get Data Path Buffer Pool API version @@ -276,4 +276,4 @@ int dpbp_get_api_version(struct fsl_mc_io *mc_io, return 0; } -EXPORT_SYMBOL(dpbp_get_api_version); +EXPORT_SYMBOL_GPL(dpbp_get_api_version); diff --git a/drivers/staging/fsl-mc/bus/dpcon.c b/drivers/staging/fsl-mc/bus/dpcon.c index ce7c0bf..5ba1a0f 100644 --- a/drivers/staging/fsl-mc/bus/dpcon.c +++ b/drivers/staging/fsl-mc/bus/dpcon.c @@ -78,7 +78,7 @@ int dpcon_open(struct fsl_mc_io *mc_io, return 0; } -EXPORT_SYMBOL(dpcon_open); +EXPORT_SYMBOL_GPL(dpcon_open); /** * dpcon_close() - Close the control session of the object @@ -105,7 +105,7 @@ int dpcon_close(struct fsl_mc_io *mc_io, /* send command to mc*/ return mc_send_command(mc_io, &cmd); } -EXPORT_SYMBOL(dpcon_close); +EXPORT_SYMBOL_GPL(dpcon_close); /** * dpcon_enable() - Enable the DPCON @@ -129,7 +129,7 @@ int dpcon_enable(struct fsl_mc_io *mc_io, /* send command to mc*/ return mc_send_command(mc_io, &cmd); } -EXPORT_SYMBOL(dpcon_enable); +EXPORT_SYMBOL_GPL(dpcon_enable); /** * dpcon_disable() - Disable the DPCON @@ -153,7 +153,7 @@ int dpcon_disable(struct fsl_mc_io *mc_io, /* send command to mc*/ return mc_send_command(mc_io, &cmd); } -EXPORT_SYMBOL(dpcon_disable); +EXPORT_SYMBOL_GPL(dpcon_disable); /** * dpcon_reset() - Reset the DPCON, returns the object to initial state. @@ -176,7 +176,7 @@ int dpcon_reset(struct fsl_mc_io *mc_io, /* send command to mc*/ return mc_send_command(mc_io, &cmd); } -EXPORT_SYMBOL(dpcon_reset); +EXPORT_SYMBOL_GPL(dpcon_reset); /** * dpcon_get_attributes() - Retrieve DPCON attributes. @@ -214,7 +214,7 @@ int dpcon_get_attributes(struct fsl_mc_io *mc_io, return 0; } -EXPORT_SYMBOL(dpcon_get_attributes); +EXPORT_SYMBOL_GPL(dpcon_get_attributes); /** * dpcon_set_notification() - Set DPCON notification destination @@ -245,4 +245,4 @@ int dpcon_set_notification(struct fsl_mc_io *mc_io, /* send command to mc*/ return mc_send_command(mc_io, &cmd); } -EXPORT_SYMBOL(dpcon_set_notification); +EXPORT_SYMBOL_GPL(dpcon_set_notification); diff --git a/drivers/staging/fsl-mc/bus/dprc.c b/drivers/staging/fsl-mc/bus/dprc.c index 6f6c65a..f29ea3e 100644 --- a/drivers/staging/fsl-mc/bus/dprc.c +++ b/drivers/staging/fsl-mc/bus/dprc.c @@ -71,7 +71,7 @@ int dprc_open(struct fsl_mc_io *mc_io, return 0; } -EXPORT_SYMBOL(dprc_open); +EXPORT_SYMBOL_GPL(dprc_open); /** * dprc_close() - Close the control session of the object @@ -97,7 +97,7 @@ int dprc_close(struct fsl_mc_io *mc_io, /* send command to mc*/ return mc_send_command(mc_io, &cmd); } -EXPORT_SYMBOL(dprc_close); +EXPORT_SYMBOL_GPL(dprc_close); /** * dprc_get_irq() - Get IRQ information from the DPRC. @@ -475,7 +475,7 @@ int dprc_get_obj_count(struct fsl_mc_io *mc_io, return 0; } -EXPORT_SYMBOL(dprc_get_obj_count); +EXPORT_SYMBOL_GPL(dprc_get_obj_count); /** * dprc_get_obj() - Get general information on an object @@ -531,7 +531,7 @@ int dprc_get_obj(struct fsl_mc_io *mc_io, obj_desc->label[15] = '\0'; return 0; } -EXPORT_SYMBOL(dprc_get_obj); +EXPORT_SYMBOL_GPL(dprc_get_obj); /** * dprc_set_obj_irq() - Set IRQ information for object to trigger an interrupt. @@ -572,7 +572,7 @@ int dprc_set_obj_irq(struct fsl_mc_io *mc_io, /* send command to mc*/ return mc_send_command(mc_io, &cmd); } -EXPORT_SYMBOL(dprc_set_obj_irq); +EXPORT_SYMBOL_GPL(dprc_set_obj_irq); /** * dprc_get_obj_irq() - Get IRQ information from object. @@ -626,7 +626,7 @@ int dprc_get_obj_irq(struct fsl_mc_io *mc_io, return 0; } -EXPORT_SYMBOL(dprc_get_obj_irq); +EXPORT_SYMBOL_GPL(dprc_get_obj_irq); /** * dprc_get_res_count() - Obtains the number of free resources that are assigned @@ -669,7 +669,7 @@ int dprc_get_res_count(struct fsl_mc_io *mc_io, return 0; } -EXPORT_SYMBOL(dprc_get_res_count); +EXPORT_SYMBOL_GPL(dprc_get_res_count); /** * dprc_get_obj_region() - Get region information for a specified object. @@ -717,7 +717,7 @@ int dprc_get_obj_region(struct fsl_mc_io *mc_io, return 0; } -EXPORT_SYMBOL(dprc_get_obj_region); +EXPORT_SYMBOL_GPL(dprc_get_obj_region); /** * dprc_get_api_version - Get Data Path Resource Container API version diff --git a/drivers/staging/fsl-mc/bus/mc-sys.c b/drivers/staging/fsl-mc/bus/mc-sys.c index 7ce105b..a2854e5 100644 --- a/drivers/staging/fsl-mc/bus/mc-sys.c +++ b/drivers/staging/fsl-mc/bus/mc-sys.c @@ -320,4 +320,4 @@ int mc_send_command(struct fsl_mc_io *mc_io, struct mc_command *cmd) return error; } -EXPORT_SYMBOL(mc_send_command); +EXPORT_SYMBOL_GPL(mc_send_command);