From patchwork Thu Jun 22 13:35:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 9804437 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 5186C60329 for ; Thu, 22 Jun 2017 13:38:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4199D2842B for ; Thu, 22 Jun 2017 13:38:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3669D2867B; Thu, 22 Jun 2017 13:38:43 +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 CBF972842B for ; Thu, 22 Jun 2017 13:38:42 +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=1iqk41xksUqxOMMUJIMR7KQP7HO2sQUuT/SFfYEOn0Q=; b=nWHHtHLoEMJr63 PSyDAA1cOXIyoja0/MLlj2YBdZupM0L4sB8e8DMbGIUnx21q5PmhpxLk9/jjcSg3EKO7tqGvPzoPM y2I1ujaBfUBnxelrHLPQ7wa2A7PCfdsPjf+N32e/LgEdSbOFXQcSkR5yhDbxEnJjB2K5mBzh3Oka/ sXPTh8sPl6YJYGOz40oFsLckwkhFSbvH0NnqHz3Jj/5d5YNV4wnkDpyLeipq63IkDTwE+n6ylhYK9 ui/7Hgim6xe+Z/pnv+xjoCrP0244io3JQYBfRNfr9FWN1IX5UHxFXN4DvnyCqiUIKVPoFS8HX1NVw fP5gDrdGR3IH/iLSv4eQ==; 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 1dO2Jl-0002ZE-0K; Thu, 22 Jun 2017 13:38:41 +0000 Received: from mail-sn1nam01on0602.outbound.protection.outlook.com ([2a01:111:f400:fe40::602] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dO2I5-0000us-Nt for linux-arm-kernel@lists.infradead.org; Thu, 22 Jun 2017 13:36:59 +0000 Received: from BN6PR03CA0094.namprd03.prod.outlook.com (10.164.122.160) by CY1PR0301MB0601.namprd03.prod.outlook.com (10.160.142.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Thu, 22 Jun 2017 13:36:46 +0000 Received: from BY2FFO11OLC011.protection.gbl (2a01:111:f400:7c0c::141) by BN6PR03CA0094.outlook.office365.com (2603:10b6:405:6f::32) 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:36:45 +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 BY2FFO11OLC011.mail.protection.outlook.com (10.1.15.22) 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:36:45 +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 v5MDa5BK016929; Thu, 22 Jun 2017 06:36:41 -0700 From: To: , Subject: [PATCH 08/14] staging: fsl-mc: move couple of definitions to public header Date: Thu, 22 Jun 2017 16:35:54 +0300 Message-ID: <20170622133600.31694-9-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: 131426122057995261; (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)(39400400002)(39410400002)(39850400002)(39450400003)(39840400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(356003)(39060400002)(77096006)(86152003)(2950100002)(8676002)(2876002)(6666003)(81166006)(81156014)(50226002)(1076002)(85426001)(8656002)(5003940100001)(2906002)(53936002)(8936002)(7416002)(36756003)(33646002)(104016004)(305945005)(4326008)(5660300001)(189998001)(498600001)(105606002)(106466001)(47776003)(54906002)(76176999)(38730400002)(48376002)(86362001)(50986999)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0601; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC011; 1:4147NL7puabyUsT1Sny9ATwB0hORKdndwkKj1YNla0Zj85NPar9mnVAI55Q3ey7V102j0NfXoRdQln9Rx4AM6W4Wunn62EhzeVds/m7dMykI8WUPz6QCD9+uZRF5hX0iF/TeyM4dWQfBFH5m6HVAuq0JBUbaRx6Y3SMPtcY/VaA5vspXl3PfYf5P5VPugFl4m6akiyB00fKaHWlyeccsx394DimOhrAygCSQWoyMbanbt6Jm0ASNORg+WYqaciKNSE5TGLv1FUjN9JV8CYxU6lIOyXixOgawBPsTBuvd9Uv/gCMFsC8UcxtaKRmNqtJP2gAuIVhPaUqfH1GC0JeenBW6cSCvT+idTlYMxqwoC/Q9T3uDPy5WGu0BAOZLe+pfNeOjNVf8+ICesfvphIqPMb1RSKRxRzu5pp7itqIAvixo5nJDgDvQwPeV6G5PhfWRrhQUjBwexd9fGAG4LF/zHx8OSEYCySIR7+5qk+qf9M5enFgmHU4SS5/mPtjYaVoOX3+1tUpnXdORXI3H9LQ7SSBX1COHoQifQC843dv2oJO0ET5IWemlsogaxfY0VCCgMvGst35lo+u5fBIK8j1HA/LGaW9UE4zsiUCB4nUin+NwYK9+kKXRfLuvrbTkYUejQJQSBbBYAud/L0s5pPGFLq4s5A50vJMasAGEvwHzEftNgmtIj4TyWBs0eTLsT5wljyZ+Oz3BsZOE2wjsNfvl5pF56gTCb8UZyVsN561Y8NgbF+3b/dD7QIeGJbv2Eu8P24DGUBn7nfxPmk+77cmMqI9SHNArygmxAlwB3591uvBcVwa7QMT3qNUp+oTGR2qYFdhxhZ2B+W3w5+Sn7fwFV8mg7URifti4+jXhl+9ovVdiS4bFWd6H5rjxnJb0eo1BPtv9lfg9vcr4OQ9XQmEVkA== MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0301MB0601: X-MS-Office365-Filtering-Correlation-Id: f3d4c648-5771-44c3-53fd-08d4b973b9f0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500055)(300135000095)(300000501055)(300135300095)(22001)(300000502055)(300135100095)(300000503055)(300135400095)(201703131430075)(201703131517081)(300000504055)(300135200095)(300000505055)(300135600095)(300000506048)(300135500095); SRVR:CY1PR0301MB0601; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0601; 3:mTDQ0UAcI7WlNFv4rU3Nqeu2B3BRC+ORo3AYqb8Kavcy4h23B/1X5x1N27OfT9/1PCB2EYkTW5eIVoBDc2DAGpmw0pRyGr2vBkMV48AFJ7xhsSI/8IQYPe7SN0Gp2CWbBA5WEy+ndW7DCGyDkPhNG/v/EiuhLhS1MB451yIewCmSUtl3uWqYR2R/3n/LYb/I9CndjMAKNK795X0/0MRDpln3tYKu0x+VwrW2XaVO4g7dka83sQ+6aR0TKA6nRvob8h52pwn6ojY+lm/n357jIA+5NaPMO45sE0m3beKugaajGjrH97R+/XTbyaGpyiRIma06kSiZZjwA/5YBLbo0m3Ec4Wy6AjXAXBhI3mt6GFwF7sqoR9o2IyZrhp3dQQajt6JujodV2vhBqoqptSsGQ/nrOp0cMYG7vNEvzxmibz9OVu3gzFHLVu86QNO+XZ4yjca2hJQXljlv/GixVJraB9nWtkZeOK2XyLILN3MGqn3JwdsLUuYaQxVA88oyWQ/IhCFHdLsRJEKx1R+gjziwn5/hGIXGJBlb4qmiMSStaPRk0SfZZt+kmm6mzGNuUc+lSd9WDKAoCLQmssESzBqifHLYiYL1rbr/UHdtHE20U5ZECRw4aSQ8x9VhFjaMLN5Q3Tb6TvNtY5aWzV1aidB16er24rmP1xpXAACuNHH8soeh0/sG//+XaanfPM2DTJF+VXxb8HtXY2hA4QszlhCfphoZIZDv+mUUzITT0kuF/eg6czX/gmIdv0TjyFzQBW7o8TGwldijyKa1XikYUOrcNv3aDiRiuVrqzALX0MTqbDY1ei0rf3kAYsIGi12bvVke9+ri4S8hDeu9x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h1TlGtgPl0N3SkJ92bG3wCEk4fjnhY/4rX0vkafTEVktlMbLfc9hx5De7S/Nzfi6YyGPf2qIeuZU/a1gfY7x8DzUPBZo1BflNT0vn5JFmj2QYr0HnNQPPb2kTyt8sG+yRysO8ywGbHhkU2krOl15RirV5WvylEJydZ/qR8DyBT/gKhpf0u/sXlxA050ByVhXMexpBMbpDkJ+ia93ERXDpl1C+Qx4CyB/KcXYQGi7k2ErriP2KkSrV/dfptdsXlfBVlMTfZJJzGE2rVu3gGxGYInGUEQQywz3O0T93gSSOa379p1nVZDPq6bNgcGMhnHeC7TZ0QN85MDYyFqh0ds5pWHflGPOMAlzbtsdzGdzojy+UcHjQnrS2h8g/bV/p8xvRESQYb/Mstr58FQYbCd1ExoyXLk0NV/COzTZGZ0MwPLgwL+Do8tHbxBjoftfqjEIUXzid9m+0VwZaJRtwTyn9ffUffirR0aOOmExfsAik0keoASLU4j+mdTmYqABf3PgOD0CQHHecBp7gnsdGvmsZ8D5Ja8l20tCIaVodr1ObH+n8wjKquakfmSdCEHRmuiQ67njQjp3gR9FIqMy7Nz83zd6RwIXXn/jAZRq53Z8fq71RtXkgApatL+UKjhMoJoBvYh8plR8EkeSapcouymuRIotCzBVtWpFZdTQPbQ== 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)(601004)(2401047)(13018025)(8121501046)(5005006)(13016025)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(3002001)(6055026)(6096035)(20161123559100)(20161123565025)(20161123563025)(20161123561025)(20161123556025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0301MB0601; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0301MB0601; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0601; 4:cxVUgraEFHpMax0+EBLcVXbeI0jay/a001kjoo1Z?= =?us-ascii?Q?CESsSriD9JZT3vpujv9e+TKd6OqCzQ96pHGeV7c92eeao8tICjHTTQyYmoXr?= =?us-ascii?Q?zjBVKP0pw9qknsG+TYNEubgJ98sGvL2x/XTrrHAyt6rxMEEuE+nvPa5xteZL?= =?us-ascii?Q?l3Euj+sIYvgfNV4QbOiSxEJxlqu2FI3dCp9FT9X402u+WJX6HOnT3SyKwrWU?= =?us-ascii?Q?/MUXvhKOHFAYUkIh4lxb1536pTis3CdChvcuaEHWP3qFD4jX8b32HXOsGvEA?= =?us-ascii?Q?4IoPkPSYQI4+eWM/gxoclCInfBMR/vDhXQj9Ve5jRGJhMLsTAFXPBXYAis2h?= =?us-ascii?Q?7TbSVscvLwIOxOPfO7jXsy/Z+x/s2CtQjVhx1ROt1d7lg7GQAd5mCqT0/6v9?= =?us-ascii?Q?qHeurX+RY5L5Ydn8YWmVjlgPSyQvm7xhKmZvPXHeov+2dH0Gx+RhGLqGARqE?= =?us-ascii?Q?yOkcBkjbBKkk2NNC8oWkwYymj+UkRdwJT5YNmAhAZxUuJIdaFTQvGenMdcWN?= =?us-ascii?Q?TYIfOn+toY2eUOnuma5o4uzjW6O72xQJJlCjNEYeKbDOvjfxI53bVTKWdHqr?= =?us-ascii?Q?q4Kp55MNTO8a92xyYNnlBwoCUacxW2SwbfMx8hjyeac1uOnT6J6mV/RJ8883?= =?us-ascii?Q?dGNvHGMVl3IHdNwT7cpI3Gujqc8qC/pM7dJhlHDL058qCfAEpLLCe5eKLBG6?= =?us-ascii?Q?5ety6GLoagGMOmXeX0pLtMkjog8FV/9Gpgolj3LyyVZFqh5h3a1++bkrSeoX?= =?us-ascii?Q?CMzTawzJQa0Ag1fVMNryBK0BSeS9H+xCjk+NaMZJwldYPpV8Uo/GZLZT7jb8?= =?us-ascii?Q?+LidZSjgs4tjHdoC1LJDkHeRxzjiAoQ0egwVvl1xUVJ0EPFO/hkEUTcmSbbQ?= =?us-ascii?Q?FwrbMIVv/XSeEI1C+ry2i62JtG+PSPBH/nworAJnOP7se9GA32vHLlwuk9mz?= =?us-ascii?Q?/P+/afCNUBbaNKMgHUt5BeY0cjMT+61k3SaFd3nGIAABKiaHg2s5wz8wxILq?= =?us-ascii?Q?CvyVJwfFc3NwuytGqwAGgTVlsqQccDZ24tdeJhJcpzVHMg14OB3ApmBSKwy0?= =?us-ascii?Q?tQ07cuY3D7GUSR/IS5W2/Gtoq+/Mp+l151RdHLVBc2GItEbmsJECEo0cO+me?= =?us-ascii?Q?Bgqj17ay0PvLC4QbpwULRALBlZ+CN2EaeZbkBUh1cRFF+UxElOhUjx9Bj5zC?= =?us-ascii?Q?4QXve6CwDOg0/TWM8zLG1foxmfQopp0xD8wRIw9+0yRikRsMDEK4Og9Cym+J?= =?us-ascii?Q?WOX6UzL8ZdOzAetJwBHiRF9nOifYKbV40Q0ZIkkA?= X-Forefront-PRVS: 03468CBA43 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0601; 23:h4laXsggeG9SpPX0tjgd0pEnB5f/GdTdq2mlDs9?= =?us-ascii?Q?IX3QkMMpkpLZVPP+wmsz3xhFjHL86FL39ZzGLyjk9l7aAjl5MqVzTmTZt8jN?= =?us-ascii?Q?/CAC2FTvsh52LdyVecd1O1InzRVA7Sm19oXecsDa1qxkRcWRLmrVrboDrCMA?= =?us-ascii?Q?cOKvGwRUvjClp2yPLHU2sTIeqNtIN7NJpIpLJS93NSoSK2M/ezkTU5mI51b4?= =?us-ascii?Q?gNfpLBjn369IJMaQ8AYJOkT0xLi0BjP6recpt9ekESnp8hhNhP4c5is0ZMyN?= =?us-ascii?Q?20+aUmzQw8iIfJfDVApP+WDgchu977QwVIMm/n46mCh680cPW47F0hkL+eCu?= =?us-ascii?Q?pAmXy94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OJ0?= =?us-ascii?Q?zuQ0EKT4Edvk0zViklj54Zr2kkWDtZtunFtxWYvbTa+LYv+z6AkpZW1qsRfc?= =?us-ascii?Q?X4MyAoVOTjL4c50+z36lLn80=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0601; 6:VpowobXCzRacpq0ytmANlZMqiEguRc8W1giuJWJr?= =?us-ascii?Q?pg7hIx0Gs0Ri8tuy2fiEzeMtsQCe5s/pAzpZJgMprNZCthnU0frS1aOvs5qt?= =?us-ascii?Q?RYeTJfLifstKkQUeiCd8CXHXZBQuSdabzujW5JKqXNYSnJjaJtpzmN4AaWWb?= =?us-ascii?Q?DCe6IePiwgr34DCTDfwmUuA3tFjzIaBvi2iraDwk8enBevjV55BXCBU7EfFN?= =?us-ascii?Q?9xQWkygQ+ynVuLEab0PjnHA3eln2+FtBS0qQELYjXWt7yyVsDZ5+gGreSjHd?= =?us-ascii?Q?aMLzkBJCg+GaB47etaM2npjGwVz+qPbmJoWul+RKOi2UT+IDEYBxkk2YFdaK?= =?us-ascii?Q?IlP524CUqTRwYH29e+teUqRCvTsM48XJ383TwE4Ck/KOS7q6mZGXfSPueO4J?= =?us-ascii?Q?yqZbZicX/aSWUSwx2gyyTGNHGeZOq9Wda0eh9VlKQz89dKxYgR/66qVgMCQ7?= =?us-ascii?Q?yyQr4Ql+SYFT8J/YSGLTHLV9Hr0rX4SUxeMEdO8acQTkiolFD6XvrsmOUVX+?= =?us-ascii?Q?9pm2J0XTZT9YCcXqyIae8PUVLkTkmlakkCP53e5FjNT9DVTSfJJ9lq/SPTZP?= =?us-ascii?Q?s34R/Pae417Mfv7jIUjPK5nU/Ly5SvQzaSQqBMKvIZFZCfWYLnXlZ3Jz1oWb?= =?us-ascii?Q?QGs0kwTt3+yJP/HMjLth1hZ23Qvay9ljSq1kH6AN+AfxAjJL1Tx4zRXL5mep?= =?us-ascii?Q?DUod89WRCv3hiy6aFbQEXabo0ujvvXQqR55JxsgUfjoAirmj88dSwa+KZntf?= =?us-ascii?Q?/Gnq2gkBkuFKZFk4u2mjcR3r8MjJ0bAgP7pwcqTb3/cu7CzQX4iZynyAaL4L?= =?us-ascii?Q?67ohisSPQpMz9nt+K6X0l+tTcDZ0jco1p+8bfHFnFd8iwnTyn+Mj6wVF2yoP?= =?us-ascii?Q?QylyEk3fDlHQ8fNekPMc7nWZRhXjTRK4guPMea48IcpdM4fc6hXOuYXzCdPk?= =?us-ascii?Q?iO4rAOEO7l0Tr8Ju5GiHYAX3C6V9KSVmDQE3SUex+Q=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0601; 5:GyrFt9uLwFyx3fdagW2hk6a9/T5s615Jzno0gFPgIIQ2qItQiuU61Hwdlf0Or1mnPGcKebxdPnpOerZeHjk8+CVHrrofJvSJBYZCHzChMxX5+lwe9ZYi3OpEBEyf4wKBQKF9IFzUjAdLE0E6RCMl66O3XlkiV3cEzOyf3UVGLGJWiASo8oHsLy8YsNe2L/HWMcr69eg75FbalbQYyDXbBXCnGM9grBZEnDCkLKaeOTskcDn7ojmys0zD3RtutlRCwTp909sISBqP7dZ1YDlq/bejdf+UGEOMY7m5sSfysAEtlhZbnaryaCo39Z+bYHRB8xy39o5ioQyfpSIflQkxlAfl3uDbOkpHiSw4KG1Jim935goJAmzOz2Gfj3QHE185vcMQymurPhvGKj449FujUB/ARUd/hLB+limxZSSHijz9X/TCHfb1bN/0v9e4xLPN/oVV9pa5Bs26/75HOWviH3fD6js1nWhkyBh+tGNP84D5GwY+xD7CvgiABej4rBXwK276GRUiDEx47sAo91uSuA==; 24:HLIKYSAcw59dAcXY4L8rYHg5dFMZPqWQNYidZakdZdY50LiiUxCiNtnCL/pdZSdYAAG5x/8eqR/ajmCFEim9o5RIVh6mzuNIr/+U0ULV03c= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0601; 7:yvmo/mWeF5+MdaUJ35hHcIWWrdxMauJjMEz4u46dd49YGLdBtAQQeSqy9uLlDsBLl9E1QUgpbPuG5JhaQ+9LrAKkMD3lTlHlQJbebYpKXsIxjBz4NBT9Fgmbv0PHcCKYuV8jepzNwMx19ADiZMz2v4KwL9teydJJnwfl5Mz5/ulpQ+YbcuKDHxQy2ldil4Om6qLt8Hvyvf2MtyG6K1lrGx3SdDsRcc/kdjsxBcOh3txCz1qwXZ+jBJ/RFR23fQyICHTwwCUDD7vw2hss+k91QocH/r02e0Igei0QotRe1WZe/l5ZCd7SlgH527JxF87KIOFD70pHm7aPQWC4V520yEIC/MwCcvldOy2k3N9QkriRpszgSJv4JewqfPsvUDZPSV1/0TmbkPFVwpnuwc9+or3ZzqxiFYqR5D1J3o0fe0yAwuB/8PiRnYX8iJdQV36TKYE+WecoN2oYtGcy2SLakLqVj0g4I33BErPEuuQ4tpztDbNIP9Fb7LVseXrGKLQ+G4qUiGon06Z/NpZ42Wdet5TMFc4+IshV30nglXhq7C03sZmcMk1cUdtclxa46N5zXqaCHvj0yAB9Hcl95AAxIYIxzYLXie59Rf3j5lbQb4iyFT9PZ8a2RQ8r5hsu1+8v1zDjFwQpsr6RfeqiRRrfa67IlZMTpUNH4aCKRWb9ogHPnoCOLWa7ly5Hvzs/TqcGkdrj5E/8Y90xD1sl+JqINfYEQP+Oe7Vl4eBloJvaYMQSgokHQLcewUp/WILS0944D6MgyfV8ewU2jbX+2MO3mteSszRXnjlT7XOxJoYEoVY= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2017 13:36:45.6591 (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: CY1PR0301MB0601 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170622_063657_851325_443E0655 X-CRM114-Status: UNSURE ( 4.59 ) X-CRM114-Notice: Please train this message. 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 Define dev_is_fsl_mc() and the bus type definition (fsl_mc_bus_type) are used externally so move them to the public header. Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/include/mc-bus.h | 9 --------- drivers/staging/fsl-mc/include/mc.h | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/fsl-mc/include/mc-bus.h b/drivers/staging/fsl-mc/include/mc-bus.h index 0860681..a79a679 100644 --- a/drivers/staging/fsl-mc/include/mc-bus.h +++ b/drivers/staging/fsl-mc/include/mc-bus.h @@ -20,13 +20,6 @@ */ #define FSL_MC_IRQ_POOL_MAX_TOTAL_IRQS 256 -#ifdef CONFIG_FSL_MC_BUS -#define dev_is_fsl_mc(_dev) ((_dev)->bus == &fsl_mc_bus_type) -#else -/* If fsl-mc bus is not present device cannot belong to fsl-mc bus */ -#define dev_is_fsl_mc(_dev) (0) -#endif - /** * struct fsl_mc_resource_pool - Pool of MC resources of a given * type @@ -81,6 +74,4 @@ void fsl_mc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev); bool fsl_mc_is_root_dprc(struct device *dev); -extern struct bus_type fsl_mc_bus_type; - #endif /* _FSL_MC_MCBUS_H_ */ diff --git a/drivers/staging/fsl-mc/include/mc.h b/drivers/staging/fsl-mc/include/mc.h index adb2378..d37e2c7 100644 --- a/drivers/staging/fsl-mc/include/mc.h +++ b/drivers/staging/fsl-mc/include/mc.h @@ -201,6 +201,13 @@ struct fsl_mc_device { #define to_fsl_mc_device(_dev) \ container_of(_dev, struct fsl_mc_device, dev) +#ifdef CONFIG_FSL_MC_BUS +#define dev_is_fsl_mc(_dev) ((_dev)->bus == &fsl_mc_bus_type) +#else +/* If fsl-mc bus is not present device cannot belong to fsl-mc bus */ +#define dev_is_fsl_mc(_dev) (0) +#endif + /* * module_fsl_mc_driver() - Helper macro for drivers that don't do * anything special in module init/exit. This eliminates a lot of @@ -244,4 +251,6 @@ int __must_check fsl_mc_allocate_irqs(struct fsl_mc_device *mc_dev); void fsl_mc_free_irqs(struct fsl_mc_device *mc_dev); +extern struct bus_type fsl_mc_bus_type; + #endif /* _FSL_MC_H_ */