From patchwork Thu Jun 22 13:35:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 9804553 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 AB20F60234 for ; Thu, 22 Jun 2017 14:50:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98F96286CA for ; Thu, 22 Jun 2017 14:50:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8730C286DC; Thu, 22 Jun 2017 14:50:13 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID 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 9C6CF286CA for ; Thu, 22 Jun 2017 14:50:12 +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=pUyuCvIYjM/g4Z+YoY7SV9fZUHok/8pv58vUvK3d3cI=; b=BKTb9gtjzxMWTb E8Lu4kiIsn6rbpnuDrnxroKyXiCcgla7wrdpFQwLj0zFIROzXK2IK2CGdUge3YyYho6xmhLas2ffM pijCJHBt5p98I32AQHyFegmAwQ2L3JhndM1AGpsoymhHpNYk3rnhs3WKVD/qn6dUuJkHPJbiFTwtM NMwd76Xpm8z6sEOVnYCn6nGVlVtehEM8Hrl6vfRbzGTyO5AeRVfc/F36XT/WLFJW8im7tXWztPCtj gOVwXMW7pG44740lrX7ztgECaS/EHewGXIRjv4VSq4IJoemBZdD4ojFCX7/6eiFvT0duUShHj2F13 E7ttAy2kMJYIvwHdKFlQ==; 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 1dO3Qw-0000Yh-4O; Thu, 22 Jun 2017 14:50:10 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dO3Q5-0000Fd-M5 for linux-arm-kernel@bombadil.infradead.org; Thu, 22 Jun 2017 14:49:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=psGG6Y/DgQjtmowHAetfWlYbFE60X5PTEDjv3azdHSQ=; b=CkwHxazeGTOo4auAdS5UehP6I qi9HeQauMjKHogHzr8hkfLQrOqrbVUfE7fyyKdxipo0Pt/DzuIP5d4gCI0RDEA+D326Skd/z9Jd5H KO5afPqAl7V8rLlAVYij6tKcnMxqXSm5WYy7CMPm1gcVu5qsHZFZM+k9LlpR5FD2CNHwIWOBNZGzl gjWtfuD3k5ZMAaHs0UYQpTo1vehTw+rfNlr3LqqNRrIlG1xeAhvQEpm1sC1uKCbmKOLLVtblvYCKg vCaNSaqjEO0u1I6le/bF6Xq7z4M1+VUVPLth6P452klx7WODkyp5eSwDfFRFg5AI1WZQOUqBSlvNA EubdTq8xA==; Received: from mail-bl2nam02on0607.outbound.protection.outlook.com ([2a01:111:f400:fe46::607] helo=NAM02-BL2-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dO2Ie-0001in-95 for linux-arm-kernel@lists.infradead.org; Thu, 22 Jun 2017 13:37:34 +0000 Received: from BN6PR03CA0064.namprd03.prod.outlook.com (10.173.137.26) by BN1PR0301MB0593.namprd03.prod.outlook.com (10.160.170.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Thu, 22 Jun 2017 13:37:03 +0000 Received: from BY2FFO11OLC010.protection.gbl (2a01:111:f400:7c0c::101) by BN6PR03CA0064.outlook.office365.com (2603:10b6:404:4c::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15 via Frontend Transport; Thu, 22 Jun 2017 13:37:03 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) 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.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11OLC010.mail.protection.outlook.com (10.1.15.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1178.14 via Frontend Transport; Thu, 22 Jun 2017 13:37:03 +0000 Received: from fsr-fed1964-102.ea.freescale.net (fsr-fed1964-102.ea.freescale.net [10.171.73.86]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v5MDa5BO016929; Thu, 22 Jun 2017 06:36:58 -0700 From: To: , Subject: [PATCH 12/14] staging: fsl-mc: move mc-sys.h contents in the public header Date: Thu, 22 Jun 2017 16:35:58 +0300 Message-ID: <20170622133600.31694-13-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170622133600.31694-1-laurentiu.tudor@nxp.com> References: <20170622133600.31694-1-laurentiu.tudor@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131426122232931511; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39380400002)(39850400002)(39450400003)(39410400002)(39400400002)(39840400002)(39860400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(106466001)(5003940100001)(189998001)(105606002)(2876002)(50226002)(2906002)(48376002)(50466002)(47776003)(1076002)(8936002)(4326008)(7416002)(38730400002)(5660300001)(498600001)(33646002)(39060400002)(76176999)(50986999)(53936002)(2950100002)(104016004)(81156014)(305945005)(81166006)(86152003)(54906002)(86362001)(8656002)(36756003)(77096006)(85426001)(356003)(575784001)(8676002)(2004002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR0301MB0593; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC010; 1:N+EmET8HaWFNpWu/Umm6LCBoK3xWyXQpqHVXjUKhMkwhD7azOgsbA5YdTCh5cUMzR+z7SufnfJP4kDXxyNOXKnuWTn7mx2SV4jXDAxkcNM6RYUCF5pxTSejF0mS47eZGleNGLOCQ2NFdpL+I3JeeCKJ/R6rz50O8UIp1fThXK6CA0Hy7XRH0vtGdjHsOF+x9Yr8pINgX4ltu9tUCwY73MxB3iA4UPeG7l3c5CjH6jBokqj2IHzylClUWCZTLWxCTT6LuJINajYWGQZhM2yUkhejI0hSKPcu6iHDiM1Y/i6xFXfDeBOCTFq5cXUYq6Ge+M2117c1F4KpsNZj9z6YBslt+v03G5d7/obFmMcf3/886rwTwF+pHCH8oXhrhjcZfe7zzxy9YT6HY/58HmlU5b7dlhpYjnYwl6eYKtUCDx0F0xCJCZxCBOUF26F8P2ZIaFkHnBxUOeQxhxUYn/8vxlXpdC3pTPTfjF7VhOvVLEqsnwD3jL8Rw0Gnv5S1AEbeUCJ3ET/BpEGwZAg9BOwnDbsMIzIz3AT8WxCldGGjCFW4uXGKYFsLouCcvI0oxAyNp4DZED8MrNfpwS4HlV+TgK7zc28kV40Ls7RiTch/5ux6Q8TEAoY1PcjF/oVeJ4XGqdKEyiH4lOjIR1PeJvha/AAI0nrElNfMyw4dFr6wS2xK7HjOo8JvjuL00NZ9owL5c4BG/4EMpwWwMGuACM5keUw== MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3a718e53-2bd8-455e-a4b7-08d4b973c45d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BN1PR0301MB0593; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0593; 3:nyQkDcd/VZ3hlvqlXYdHUccn21kzMJpciYFmmcHTQIRww8BzjkyD6Adj/32bn5BaRW1r7nClsj2SxmiRwCJt89uM7D4p8ZD6ccA2g3TTE1xxVqJc7NobF2txfj4LNl0GzUvy6Hon9YZVYfx6N1NWeY028Xm1lMQwtyo4OEMgAPFeGHN/e1GlCmURVKp1UzlZSq4jzveNNbLYbZhaEWbaa/afWwAkUPjmPHi6d0iIOqPnlrQ1cHa5wDjNjIiYqjfrVocmqr8o0crsxpymUSUuixlU82xkvc2eRbE9diRG2s724N0jIg1btxTMU4VAgzI63i53Mjxwxm6PxSzqLyXq06JbJfZ7rYMa4LP8hzLSBinwMUS2v96izCsN8OJAq9j97PXWTAImZM41UQdqnYjM8puPpGvVtfu4Gmgj/F3YMmB8PTFB630rQA2g5gGjqnAZ; 25:v1t7GlEn5KBP8llH4k1niZN+vAaN/PC12swEpYIdTnQdDHjWVUrBKoTGuZwPM1aIlcwkh/qTUZT3HZ2StMF+F3IxVdQ4UCGEoijPSi4K9Wk1mjbZy5Wy1zEzEwYHSop1iBr6kxnsq8RJRNIUVWkJoHfbCVv9Qej6yoA8S5pSXWf8uI5pSLb1n04fowglefknsEWBFfnypwSKznCuLNhESJl1ApcIuyEJUWoUgA4lRIUDgD02GuM+DspW1F10Qtvhrz1SzWTRG6HbGAwele4vpZYykWOofGuYtBx4E9CHejlFczvMmSIPkfPUgRbYxWK0yC1VtxM8MYTvGHrh3hFfCOVKNOJ5APVibbnfHR1ei5LvWF/2uCembc+7s131LA8HwquZOFDeEeQ++Gw03T+QF/bPuKsGWJYFDOrAzy7Sn8TlwZ3Z54z913GLvv+XP8Uw0MLWkOO/HxEWQqqucVeOrZN7D4kU6gtnmSYMKSQ0Ofo= X-MS-TrafficTypeDiagnostic: BN1PR0301MB0593: X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0593; 31:k976REHIVjw/WFRr6LPeM3GCLDb0hEwUaC2FfqpF+EkleIGRgg8ZLWz8K/XmHtD5C6YH4C+p7OjAgIdcl7F2Flqr9I33ng0nIb5ZiiKVTHVCvWVgmLoPmV2yDuq/Tc4g7PXf5bsWo6B3OQKDeLoIdbNZPNl4Oc2QTSm1y5gS4KwrxvxOxT40cNmEWETpd+GeUiTQVQIBJNFsKPV5A1G1mMe+d0HM4W3rBiILyC7sdhqQ7LwE0bEAYYEbI6zNWEr2vTw8fD2JDcItwVHuWImMCQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(8121501046)(13016025)(5005006)(13018025)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6055026)(6096035)(20161123563025)(20161123565025)(20161123559100)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123556025)(20161123561025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN1PR0301MB0593; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN1PR0301MB0593; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR0301MB0593; 4:CuIEV9nZnntPmNo+Im9vUo6WFMUrh5aiusPWRlSx?= =?us-ascii?Q?PwnqPPynGwKq4ouPWl0E1gbvpIYjmjni2zScVFNxV4LtTxK2Qt48ocisa5vO?= =?us-ascii?Q?EGrhP/PovtolhLxtuZ1NJDmlacu3dB/7D5y6BBitD1iiBc4TWr/v50y/81Yk?= =?us-ascii?Q?aAYnQldQOdSXi8SlP4YI1YFyTNwTFR1txkNabHnnCJCR+d+TMPYx5B74wjzx?= =?us-ascii?Q?JtYMrjAZ+a0kQl/ULNCdV6BHQ0JG27Tp+wla9jqkpX4b4eN8AdZ/gFWjlBH5?= =?us-ascii?Q?6rTtk+aLAg5zP9GBJXvsyPe6JUehZ51svJMnnuhviRZQU5hK8OFhc2sJxF5T?= =?us-ascii?Q?hpdAxWOvYAreFheu0RBJWB4MOn8+KXrO7vX+X5TDbgKH6cQ+cJqxdrfEo7Ua?= =?us-ascii?Q?yk6RGhf0cMzxtW3ztGtAcYT1EVyMMk+6LJM+JReEVAH6cPogC3AJcwJYL2uo?= =?us-ascii?Q?cbPpm3/5xOKz4/skhwrolSceb1DkOJ89Od9gvDIYx4ziSdyLzBdhfCyvpLyX?= =?us-ascii?Q?+Ffcp2ExtpGoFbizIC/yfefDSkY7IqHxSy4cgpQZtgfYnr2mgMdtVDa6NPfQ?= =?us-ascii?Q?G/lmEbFGeUmARYf7ZkbQmwtxdDd6CqMgSgxNXkuqVn2WmZKOs7yQaYTbdIMs?= =?us-ascii?Q?FWkYDN7fLQ/glnuw8uQ4u49oTa82BmEPidVehpQDYPee0F205gOMwW2OcjQc?= =?us-ascii?Q?dc8YXrka3ze/QrQ3h1Gi4MadVENp2L83T3Sc1LBdLOsRsb99dCkm4ta81OFu?= =?us-ascii?Q?XqsHYPAxVwPLBEF1Bj/PomwYGOwNJ6wo2TRGXfEk/zk8hp0YgypFDaZGuYgU?= =?us-ascii?Q?nHR+JpjS/Fy7/2qA/lAfePb44EB9HLJVM47FCZIv7r+ogGkBcSa4gkL6nZX9?= =?us-ascii?Q?U03KHlA0kpBY/DnxospEp4DllXDDI8rquP6YHDehgOrqszDDD4N9iQXDSPwX?= =?us-ascii?Q?E+fy7+u+neHW1q/Sjbfd8yIXFyafUiisF/5gf4k38yB6lV/ZPFyvrEw6m6UI?= =?us-ascii?Q?viVLB8XrXDxgOu5aChWymmkZWVMiQEYZxLZVPu9r6M//ugja23GGYzR1g1Rm?= =?us-ascii?Q?9GwLECCcP6oKQA0l+/PtgEuwTIa8ityXxeCHbBWPuO3xOpjKJWHdD3ANiYMQ?= =?us-ascii?Q?aQ0BD5mPHyhjyfycoAcE3t44PXWGt1Esb5yHpJkZkjsu+ERsQgIzh3ijWSB+?= =?us-ascii?Q?ll+TyAaF0zvFHRt18ixfHrSW/GoVVLbk8J0QKkN/9kBxp2YkR4MHbvGQ0AkC?= =?us-ascii?Q?P0bv49HliQkDQfULpdWb+Oh2z6GZFCTnqt0flBL/DycHjwSmcdBC2Tn9l9kV?= =?us-ascii?Q?1g=3D=3D?= X-Forefront-PRVS: 03468CBA43 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR0301MB0593; 23:66UHpsX5684k7tQuJtmOSNDCYiGCMvfb6w5G2eB?= =?us-ascii?Q?YCh2Sbp+Kw285EfrJzobOmVbsbKPE93CclR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1IsOhYV+4f1vfPUydq3xRx1EjUt+M6IiaHASx5MmBNIxSBz54TIkeJsfAtUOx8Fgcy+RbiFi/P/SXtCCJI7WclKpFHV5Hx3fqoc= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2017 13:37:03.1371 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR0301MB0593 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, ruxandra.radulescu@nxp.com, arnd@arndb.de, marc.zyngier@arm.com, roy.pledge@nxp.com, linux-kernel@vger.kernel.org, agraf@suse.de, catalin.horghidan@nxp.com, ioana.ciornei@nxp.com, leoyang.li@nxp.com, bharat.bhushan@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 mc-sys.h contains the API to send commands to the MC and is used by drivers. Move it to the public headers and get rid of the mc-sys.h header. Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 1 - drivers/staging/fsl-dpaa2/ethernet/dpni.c | 2 +- drivers/staging/fsl-mc/bus/dpbp.c | 2 +- drivers/staging/fsl-mc/bus/dpcon.c | 2 +- drivers/staging/fsl-mc/bus/dpio/dpio.c | 2 +- drivers/staging/fsl-mc/bus/dpmcp.c | 2 +- drivers/staging/fsl-mc/bus/dprc-driver.c | 2 +- drivers/staging/fsl-mc/bus/dprc.c | 1 - drivers/staging/fsl-mc/bus/fsl-mc-allocator.c | 2 +- drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 1 - drivers/staging/fsl-mc/bus/mc-io.c | 2 +- drivers/staging/fsl-mc/bus/mc-sys.c | 1 - drivers/staging/fsl-mc/include/mc-sys.h | 98 -------------------------- drivers/staging/fsl-mc/include/mc.h | 53 ++++++++++++++ 14 files changed, 61 insertions(+), 110 deletions(-) delete mode 100644 drivers/staging/fsl-mc/include/mc-sys.h diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c index 1f89274..b9a0a31 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c @@ -40,7 +40,6 @@ #include #include "../../fsl-mc/include/mc.h" -#include "../../fsl-mc/include/mc-sys.h" #include "dpaa2-eth.h" /* CREATE_TRACE_POINTS only needs to be defined once. Other dpa files diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpni.c b/drivers/staging/fsl-dpaa2/ethernet/dpni.c index 2c4b1a8..160eaf8 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpni.c +++ b/drivers/staging/fsl-dpaa2/ethernet/dpni.c @@ -32,7 +32,7 @@ */ #include #include -#include "../../fsl-mc/include/mc-sys.h" +#include "../../fsl-mc/include/mc.h" #include "../../fsl-mc/include/mc-cmd.h" #include "dpni.h" #include "dpni-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/dpbp.c b/drivers/staging/fsl-mc/bus/dpbp.c index e92d887..b714673 100644 --- a/drivers/staging/fsl-mc/bus/dpbp.c +++ b/drivers/staging/fsl-mc/bus/dpbp.c @@ -30,7 +30,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -#include "../include/mc-sys.h" +#include "../include/mc.h" #include "../include/mc-cmd.h" #include "../include/dpbp.h" diff --git a/drivers/staging/fsl-mc/bus/dpcon.c b/drivers/staging/fsl-mc/bus/dpcon.c index 20df185..2272a9c 100644 --- a/drivers/staging/fsl-mc/bus/dpcon.c +++ b/drivers/staging/fsl-mc/bus/dpcon.c @@ -30,7 +30,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -#include "../include/mc-sys.h" +#include "../include/mc.h" #include "../include/mc-cmd.h" #include "../include/dpcon.h" diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio.c b/drivers/staging/fsl-mc/bus/dpio/dpio.c index a18ca89..48dce4a 100644 --- a/drivers/staging/fsl-mc/bus/dpio/dpio.c +++ b/drivers/staging/fsl-mc/bus/dpio/dpio.c @@ -31,7 +31,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -#include "../../include/mc-sys.h" +#include "../../include/mc.h" #include "../../include/mc-cmd.h" #include "dpio.h" diff --git a/drivers/staging/fsl-mc/bus/dpmcp.c b/drivers/staging/fsl-mc/bus/dpmcp.c index 66011e8..7b3dd19 100644 --- a/drivers/staging/fsl-mc/bus/dpmcp.c +++ b/drivers/staging/fsl-mc/bus/dpmcp.c @@ -30,7 +30,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -#include "../include/mc-sys.h" +#include "../include/mc.h" #include "../include/mc-cmd.h" #include "dpmcp.h" diff --git a/drivers/staging/fsl-mc/bus/dprc-driver.c b/drivers/staging/fsl-mc/bus/dprc-driver.c index 142dfa7..8e17cd8 100644 --- a/drivers/staging/fsl-mc/bus/dprc-driver.c +++ b/drivers/staging/fsl-mc/bus/dprc-driver.c @@ -13,7 +13,7 @@ #include #include #include -#include "../include/mc-sys.h" +#include "../include/mc.h" #include "dprc-cmd.h" #include "fsl-mc-private.h" diff --git a/drivers/staging/fsl-mc/bus/dprc.c b/drivers/staging/fsl-mc/bus/dprc.c index e5dfc33..f93fe00 100644 --- a/drivers/staging/fsl-mc/bus/dprc.c +++ b/drivers/staging/fsl-mc/bus/dprc.c @@ -31,7 +31,6 @@ */ #include #include "../include/mc.h" -#include "../include/mc-sys.h" #include "../include/mc-cmd.h" #include "../include/dprc.h" diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c index e6a2857..8ea3920 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c +++ b/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c @@ -10,7 +10,7 @@ #include #include -#include "../include/mc-sys.h" +#include "../include/mc.h" #include "fsl-mc-private.h" diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c index 75f8dc3..166604e 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c +++ b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c @@ -20,7 +20,6 @@ #include #include #include -#include "../include/mc-sys.h" #include "../include/mc-cmd.h" #include "fsl-mc-private.h" diff --git a/drivers/staging/fsl-mc/bus/mc-io.c b/drivers/staging/fsl-mc/bus/mc-io.c index ec2835f..35221a17 100644 --- a/drivers/staging/fsl-mc/bus/mc-io.c +++ b/drivers/staging/fsl-mc/bus/mc-io.c @@ -31,7 +31,7 @@ */ #include -#include "../include/mc-sys.h" +#include "../include/mc.h" #include "fsl-mc-private.h" #include "dpmcp.h" diff --git a/drivers/staging/fsl-mc/bus/mc-sys.c b/drivers/staging/fsl-mc/bus/mc-sys.c index 4d82802..c537bf8 100644 --- a/drivers/staging/fsl-mc/bus/mc-sys.c +++ b/drivers/staging/fsl-mc/bus/mc-sys.c @@ -37,7 +37,6 @@ #include #include #include -#include "../include/mc-sys.h" #include "../include/mc-cmd.h" #include "../include/mc.h" diff --git a/drivers/staging/fsl-mc/include/mc-sys.h b/drivers/staging/fsl-mc/include/mc-sys.h deleted file mode 100644 index b520370..0000000 --- a/drivers/staging/fsl-mc/include/mc-sys.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2013-2016 Freescale Semiconductor Inc. - * - * Interface of the I/O services to send MC commands to the MC hardware - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the above-listed copyright holders nor the - * names of any contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * - * ALTERNATIVELY, this software may be distributed under the terms of the - * GNU General Public License ("GPL") as published by the Free Software - * Foundation, either version 2 of that License or (at your option) any - * later version. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#ifndef _FSL_MC_SYS_H -#define _FSL_MC_SYS_H - -#include -#include -#include -#include - -/** - * Bit masks for a MC I/O object (struct fsl_mc_io) flags - */ -#define FSL_MC_IO_ATOMIC_CONTEXT_PORTAL 0x0001 - -struct mc_command; - -/** - * struct fsl_mc_io - MC I/O object to be passed-in to mc_send_command() - * @dev: device associated with this Mc I/O object - * @flags: flags for mc_send_command() - * @portal_size: MC command portal size in bytes - * @portal_phys_addr: MC command portal physical address - * @portal_virt_addr: MC command portal virtual address - * @dpmcp_dev: pointer to the DPMCP device associated with the MC portal. - * - * Fields are only meaningful if the FSL_MC_IO_ATOMIC_CONTEXT_PORTAL flag is not - * set: - * @mutex: Mutex to serialize mc_send_command() calls that use the same MC - * portal, if the fsl_mc_io object was created with the - * FSL_MC_IO_ATOMIC_CONTEXT_PORTAL flag off. mc_send_command() calls for this - * fsl_mc_io object must be made only from non-atomic context. - * - * Fields are only meaningful if the FSL_MC_IO_ATOMIC_CONTEXT_PORTAL flag is - * set: - * @spinlock: Spinlock to serialize mc_send_command() calls that use the same MC - * portal, if the fsl_mc_io object was created with the - * FSL_MC_IO_ATOMIC_CONTEXT_PORTAL flag on. mc_send_command() calls for this - * fsl_mc_io object can be made from atomic or non-atomic context. - */ -struct fsl_mc_io { - struct device *dev; - u16 flags; - u16 portal_size; - phys_addr_t portal_phys_addr; - void __iomem *portal_virt_addr; - struct fsl_mc_device *dpmcp_dev; - union { - /* - * This field is only meaningful if the - * FSL_MC_IO_ATOMIC_CONTEXT_PORTAL flag is not set - */ - struct mutex mutex; /* serializes mc_send_command() */ - - /* - * This field is only meaningful if the - * FSL_MC_IO_ATOMIC_CONTEXT_PORTAL flag is set - */ - spinlock_t spinlock; /* serializes mc_send_command() */ - }; -}; - -int mc_send_command(struct fsl_mc_io *mc_io, struct mc_command *cmd); - -#endif /* _FSL_MC_SYS_H */ diff --git a/drivers/staging/fsl-mc/include/mc.h b/drivers/staging/fsl-mc/include/mc.h index d37e2c7..33bb3b8 100644 --- a/drivers/staging/fsl-mc/include/mc.h +++ b/drivers/staging/fsl-mc/include/mc.h @@ -23,6 +23,7 @@ struct msi_domain_info; struct fsl_mc_device; struct fsl_mc_io; +struct mc_command; /** * struct fsl_mc_driver - MC object device driver object @@ -201,6 +202,58 @@ struct fsl_mc_device { #define to_fsl_mc_device(_dev) \ container_of(_dev, struct fsl_mc_device, dev) +/** + * Bit masks for a MC I/O object (struct fsl_mc_io) flags + */ +#define FSL_MC_IO_ATOMIC_CONTEXT_PORTAL 0x0001 + +/** + * struct fsl_mc_io - MC I/O object to be passed-in to mc_send_command() + * @dev: device associated with this Mc I/O object + * @flags: flags for mc_send_command() + * @portal_size: MC command portal size in bytes + * @portal_phys_addr: MC command portal physical address + * @portal_virt_addr: MC command portal virtual address + * @dpmcp_dev: pointer to the DPMCP device associated with the MC portal. + * + * Fields are only meaningful if the FSL_MC_IO_ATOMIC_CONTEXT_PORTAL flag is not + * set: + * @mutex: Mutex to serialize mc_send_command() calls that use the same MC + * portal, if the fsl_mc_io object was created with the + * FSL_MC_IO_ATOMIC_CONTEXT_PORTAL flag off. mc_send_command() calls for this + * fsl_mc_io object must be made only from non-atomic context. + * + * Fields are only meaningful if the FSL_MC_IO_ATOMIC_CONTEXT_PORTAL flag is + * set: + * @spinlock: Spinlock to serialize mc_send_command() calls that use the same MC + * portal, if the fsl_mc_io object was created with the + * FSL_MC_IO_ATOMIC_CONTEXT_PORTAL flag on. mc_send_command() calls for this + * fsl_mc_io object can be made from atomic or non-atomic context. + */ +struct fsl_mc_io { + struct device *dev; + u16 flags; + u16 portal_size; + phys_addr_t portal_phys_addr; + void __iomem *portal_virt_addr; + struct fsl_mc_device *dpmcp_dev; + union { + /* + * This field is only meaningful if the + * FSL_MC_IO_ATOMIC_CONTEXT_PORTAL flag is not set + */ + struct mutex mutex; /* serializes mc_send_command() */ + + /* + * This field is only meaningful if the + * FSL_MC_IO_ATOMIC_CONTEXT_PORTAL flag is set + */ + spinlock_t spinlock; /* serializes mc_send_command() */ + }; +}; + +int mc_send_command(struct fsl_mc_io *mc_io, struct mc_command *cmd); + #ifdef CONFIG_FSL_MC_BUS #define dev_is_fsl_mc(_dev) ((_dev)->bus == &fsl_mc_bus_type) #else