From patchwork Fri Nov 17 13:38:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 10062739 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 0CEB860352 for ; Fri, 17 Nov 2017 13:40:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F08212ACC2 for ; Fri, 17 Nov 2017 13:40:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3E2C2ACC6; Fri, 17 Nov 2017 13:40:20 +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 29C4E2ACC2 for ; Fri, 17 Nov 2017 13:40:19 +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=c2Llpz149pFSO/h7i305XvOtFU39M6RFwIQnjs+d7Dw=; b=co/p3WemChy3fx DqY1/fhSQxcFG8PAi9iOl5q6InxAIwbytuf5AQFgAKOzLyH34OwfydypwGJ0borhH9nNcd7wOv2SF NVT28LyEdBLREBxy01limhiMU6ZbtGOJFGi8+XF//W+fb3RnkPcbkHc6H3UtMDtnmCIJFT1UWKRoV 1LPhqa8Qs4V/Ko6JOKGcQNDclg873yhOB9qYPF03eT66l4UQvOQ3T1a2NLsTGau0ur89R07r9c6OT YON9fBrGgMH6W9lQJASGNJtCOpqL1zhIDqQoxbMCN6WcwByjxFnBhH6a+mgbFzQexDwHccd9I4gdV TRZPcPDdJlth7mg87ikw==; 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 1eFgsV-0008R3-4j; Fri, 17 Nov 2017 13:40:19 +0000 Received: from mail-bl2nam02on0053.outbound.protection.outlook.com ([104.47.38.53] helo=NAM02-BL2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eFgrZ-0006ed-EX for linux-arm-kernel@lists.infradead.org; Fri, 17 Nov 2017 13:39:23 +0000 Received: from BLUPR0301CA0030.namprd03.prod.outlook.com (10.162.113.168) by BN6PR03MB2691.namprd03.prod.outlook.com (10.173.144.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.239.5; Fri, 17 Nov 2017 13:38:58 +0000 Received: from BL2FFO11FD012.protection.gbl (2a01:111:f400:7c09::172) by BLUPR0301CA0030.outlook.office365.com (2a01:111:e400:5259::40) 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:58 +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 BL2FFO11FD012.mail.protection.outlook.com (10.173.161.18) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.197.9 via Frontend Transport; Fri, 17 Nov 2017 13:38:57 +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 vAHDcbAp004692; Fri, 17 Nov 2017 06:38:53 -0700 From: To: , Subject: [PATCH 06/10] staging: fsl-mc/dpio: change to use EXPORT_SYMBOL_GPL() Date: Fri, 17 Nov 2017 15:38:30 +0200 Message-ID: <20171117133834.4635-6-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: 131553995375980642; (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)(39380400002)(376002)(346002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(2876002)(105606002)(2950100002)(54906003)(8656006)(97736004)(104016004)(6666003)(39060400002)(4326008)(7416002)(2906002)(6636002)(106466001)(8936002)(50226002)(77096006)(68736007)(5660300001)(85426001)(5003940100001)(189998001)(498600001)(86152003)(356003)(16586007)(1076002)(86362001)(53936002)(305945005)(316002)(33646002)(81166006)(8676002)(81156014)(110136005)(48376002)(36756003)(50466002)(47776003)(76176999)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2691; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD012; 1:tbMXcL1NgNos+Mj/nwzsEWpml1GbpZsPU/Lgon3J7KVRPY50RHvIB5j3jX6JDv+wk2HfeZs/s5NfUFk/clGAuoFmJkUqvN4xwnXK/cKm7wRCuIwyLNYgBUM8I2NQfB4i MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2dcb414b-c3e6-4122-3062-08d52dc08da2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4628075)(201703131517081)(2017052603258); SRVR:BN6PR03MB2691; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2691; 3:TUJ6x3uCItcK8oJDzoqcBJIJDVd9cBcWBgIA/IkuLq2zklmmjlcgRQQSthBIGyUO8uPp+YrmBZqEiX8v2OAg7fAJbvtv/xk9XuBUKDKf4ztXy1plJe7Gqst+BsavpptUNP0xT2G22nCZ/Xw/1uM0QGBnMXkIw3KI+5vbH+nBDTo8A3xTVazjV02/GPpCJcDky3+KghvDPBR+68XgaLcAmZ+aycOMwsQdQMtOU+I1wrn0ek6YHzXKkxaUB6dh6S9Ugk8vXzgN2lD2U2g04/YCuEJpr7IBWzkjmoAudfLrJ8eIi+Lf9bKihTs5EZMBH2j/msIK+EAKHJmQXu03H5DckvB/QziC4zPv7wcazWGWzcI=; 25:vHVnFVuH66e8TWXKuW1qG1DPLWo93/mhRp9Ql7Z+lCPO9FyDGWquSNd0d7fXGXcLJ+TCstzlki1N15pHF4+xJ/UEYCcbGdTZ6G0RRVG49JQJEmkzGBUIJkMbKCVvF+s2DIkvJ9uKkhKkZLG8iH+c6WyjyDFiBznddj+JLaK7n+mp7ejbXalbLeRkmKraJBoAezj+q3iTz2O9NWNzaBaaye/QxVTG1iPj4tmhwvj8UNN1962owb0hq9hRNhu1pl77IORAISmPyWHQGpca4om++Q1bFx4gjizF1zrteUrDznvLSYfVMcIzvlvvSgdETY3jM8MCtQPlA2Y47GJalhMuig== X-MS-TrafficTypeDiagnostic: BN6PR03MB2691: X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2691; 31:o9Gm8fFOV466ADMN7MSYizXT4cAqSC+FEtPfuw8QeKu9KfilRD8+f9M4+hJ5NBaAChQpOaZO//A3tiPrjZbXEYlPQRahRrbBel7R423m7t5yjmEdogKqizqTkJ1lj6412NXuWgFBbO71Osj6NlabJx1Q7+bfhn4fkLmw25eQ1CFUTTsKUl9g9rEEp3oeTS7nDdT+cfN5R1DfWcsiewF5h98WdkL2Sqiaw0AmQnddQyU=; 4:YUEebJhWq4e5LDcQteDbqfx7sUtPQaqmr7usj84CmtoQYavlR15izgGABviJ+DYkOmXIoD5Zj4Gbbh5IsNnfvVcyZEI7SAyllXXv52d+LQm133xHPrYSintiLKZng8gIPimTSKRjmTUMbDsQk1MnW7w0YiE0pb1DcWYHneEcp9TympOLaZ1IArgmL3KnGVVwALpxRAWn6gTr0aLua0Qq16iznU2TvENcz1xRasLAOQ0I0113wZgQFU9li3z0KqtGZYJhhegDrL+pPCeTobhXLh3TijiEqfoNp4/rA8cxky+5zOfWIdXHMDtiPUIpMBJW 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)(8121501046)(5005006)(10201501046)(3002001)(3231022)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123561025)(20161123559100)(20161123565025)(20161123563025)(20161123556025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR03MB2691; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR03MB2691; X-Forefront-PRVS: 049486C505 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2691; 23:hzy8uyMqXPE7PHUzVTWcjgVl9EiXtR3K2ECqFIp2l?= =?us-ascii?Q?RCrYGHDpgIc9Prk/f4xi9cu+MAAc9RfkBRBCgwrEqhXNxof09FeYkepJMYWy?= =?us-ascii?Q?Lrjk+WJBOATK7zFfzTZeSoGEwHjXZi0nRxGC5RfdcBx4XAUPG5VCzuGtiDpk?= =?us-ascii?Q?8WgMvkQ0gQsHvr07B0Qliy0UsaYcWz+78Xj52ez7nTtoVN6+Q60aMrTbQTcq?= =?us-ascii?Q?w/iFoRYfesN9fNx3ZsA8DRx9CJDyaxu9IBTJgwy5sZQTzrK8jqDCZfXugEYq?= =?us-ascii?Q?D10QD5ld+up23uMv++ZiIbQKTatV/77utsc+ikK87VYn9/R6i+HgICg7fI39?= =?us-ascii?Q?nlYm6NUcNhp3NiLzljXnQunyEvdVnlruIWs9E0lmuwe0ta98jO2EWXAz5XVT?= =?us-ascii?Q?FppOxNmumxJpS8GgEQI6Dixz9JbmvQda8SteCmxXV0nxhq7ao2OAxkshoi+G?= =?us-ascii?Q?W3TuGxB7TU87fKQp2CtgNJ7oUnNMum+6dHqgCuGQTXg7IzJjympuF+S7J46S?= =?us-ascii?Q?q8c9/Rs5LeCTcu0sAkJVs0WFkUWXdkQf5jZiilLVmfOdD/nd6ytOG/6q/WMU?= =?us-ascii?Q?KMIrd/WT6y40DaazSJR87ao2WDIo3E+qSugRKnyrD2Ey99C72d2kfG0MIuLZ?= =?us-ascii?Q?ofbSmJfPtoUY9zPrAsY5dD0XVMcHpipkqw7dnGaojZe5cajhi3J/R8haMdbe?= =?us-ascii?Q?H87NIXJrHb42pVusVN4CPRO/VqCQl8ThsSVM4ZLIh8nJi0mm/tJ/FgSSnlE6?= =?us-ascii?Q?KvbzJUd+0kIB3KhNbld4J84NPNBb6r9VpX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B7KnrX2xzXRAijhgTT4HzGCXcu9g2Q91FOst59XOrZsW49TjMcCQZDzB8Ujza/KSxwulrfhS55UlIWo/dQYntPtVDJ2AdPBkIC1AxAiGAzs3lJeso6qCSxoTyfNAIA8EgHpnNMB78fs/mIj1FMLtOfE=; 24:B/zL/NXYNYT41ziXc3GIV8mko+hf6oMFsO/vNAhbu9F/yBo9Av4KxdxHLiDZyZkLJNxIMxAoB/kJiBi2qMmEVJrHONCU0KbgxceBPP7Oluc=; 7:QSk9WMXttanucT7XTNH79CEFOepmYM0xb+7jhFvhch5qLPXTnfvKoPk1RMfZ7CZIQ83KxUQx0KFgfv6UaHvGhAxkG/hDzWzBFCxH7KfIiewZ9OaclWvIsZVEye2Pzl5mP/pfUW8hvjgMoUuO6jbsqg3fZyjFJT3eEmoGC7VY1ry8BTy6Ir+bPqrxazuE2uZiwfqMQFXB2UkJ2FizfsFdeloG9aKihbtsIGUEX6bdGOdLiGj4XovSFsF1Tct3hPUp SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2017 13:38:57.4264 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2dcb414b-c3e6-4122-3062-08d52dc08da2 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: BN6PR03MB2691 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171117_053921_678507_656AE02F X-CRM114-Status: GOOD ( 12.07 ) 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 No need to use EXPORT_SYMBOL() so switch to the GPL variant. Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/bus/dpio/dpio-service.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio-service.c b/drivers/staging/fsl-mc/bus/dpio/dpio-service.c index 871078d..a8a8e15 100644 --- a/drivers/staging/fsl-mc/bus/dpio/dpio-service.c +++ b/drivers/staging/fsl-mc/bus/dpio/dpio-service.c @@ -258,7 +258,7 @@ int dpaa2_io_service_register(struct dpaa2_io *d, ctx->qman64); return 0; } -EXPORT_SYMBOL(dpaa2_io_service_register); +EXPORT_SYMBOL_GPL(dpaa2_io_service_register); /** * dpaa2_io_service_deregister - The opposite of 'register'. @@ -281,7 +281,7 @@ void dpaa2_io_service_deregister(struct dpaa2_io *service, list_del(&ctx->node); spin_unlock_irqrestore(&d->lock_notifications, irqflags); } -EXPORT_SYMBOL(dpaa2_io_service_deregister); +EXPORT_SYMBOL_GPL(dpaa2_io_service_deregister); /** * dpaa2_io_service_rearm() - Rearm the notification for the given DPIO service. @@ -315,7 +315,7 @@ int dpaa2_io_service_rearm(struct dpaa2_io *d, return err; } -EXPORT_SYMBOL(dpaa2_io_service_rearm); +EXPORT_SYMBOL_GPL(dpaa2_io_service_rearm); /** * dpaa2_io_service_pull_channel() - pull dequeue functions from a channel. @@ -347,7 +347,7 @@ int dpaa2_io_service_pull_channel(struct dpaa2_io *d, u32 channelid, return err; } -EXPORT_SYMBOL(dpaa2_io_service_pull_channel); +EXPORT_SYMBOL_GPL(dpaa2_io_service_pull_channel); /** * dpaa2_io_service_enqueue_qd() - Enqueue a frame to a QD. @@ -376,7 +376,7 @@ int dpaa2_io_service_enqueue_qd(struct dpaa2_io *d, return qbman_swp_enqueue(d->swp, &ed, fd); } -EXPORT_SYMBOL(dpaa2_io_service_enqueue_qd); +EXPORT_SYMBOL_GPL(dpaa2_io_service_enqueue_qd); /** * dpaa2_io_service_release() - Release buffers to a buffer pool. @@ -403,7 +403,7 @@ int dpaa2_io_service_release(struct dpaa2_io *d, return qbman_swp_release(d->swp, &rd, buffers, num_buffers); } -EXPORT_SYMBOL(dpaa2_io_service_release); +EXPORT_SYMBOL_GPL(dpaa2_io_service_release); /** * dpaa2_io_service_acquire() - Acquire buffers from a buffer pool. @@ -434,7 +434,7 @@ int dpaa2_io_service_acquire(struct dpaa2_io *d, return err; } -EXPORT_SYMBOL(dpaa2_io_service_acquire); +EXPORT_SYMBOL_GPL(dpaa2_io_service_acquire); /* * 'Stores' are reusable memory blocks for holding dequeue results, and to @@ -488,7 +488,7 @@ struct dpaa2_io_store *dpaa2_io_store_create(unsigned int max_frames, return ret; } -EXPORT_SYMBOL(dpaa2_io_store_create); +EXPORT_SYMBOL_GPL(dpaa2_io_store_create); /** * dpaa2_io_store_destroy() - Frees the dma memory storage for dequeue @@ -502,7 +502,7 @@ void dpaa2_io_store_destroy(struct dpaa2_io_store *s) kfree(s->alloced_addr); kfree(s); } -EXPORT_SYMBOL(dpaa2_io_store_destroy); +EXPORT_SYMBOL_GPL(dpaa2_io_store_destroy); /** * dpaa2_io_store_next() - Determine when the next dequeue result is available. @@ -550,4 +550,4 @@ struct dpaa2_dq *dpaa2_io_store_next(struct dpaa2_io_store *s, int *is_last) return ret; } -EXPORT_SYMBOL(dpaa2_io_store_next); +EXPORT_SYMBOL_GPL(dpaa2_io_store_next);