From patchwork Tue Jun 27 14:41: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: 9811995 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 D5D45603D7 for ; Tue, 27 Jun 2017 14:44:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C79F920007 for ; Tue, 27 Jun 2017 14:44:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB48F2861B; Tue, 27 Jun 2017 14:44:25 +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=ham 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 0CE9320007 for ; Tue, 27 Jun 2017 14:44:25 +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=LAw5utipYN1/Hh/5Ib283XMM14bZQd1TPLFk5UIj4IE=; b=jAYGxf1pVcptAr dyN5FxHe9z1TFD6952ErqwW1NDv7Mnju7BzmF0KXV9JlJtcZloLCn0aBXhjkCwkj5d83iyfkpm080 z0h8Rec18QrJJa0HS+ZCXBymdnRqeZ2pl5z5Wcz/XnT7rBHu2hPjRFUtkJpanX9gdXSLsWgAgurT5 mP9pjIpwFwKQNJ6kUTKTN3puVRICm7SOYGF4UAXqyZl9IwHmb0e2aetfc6NoOSIkP03WU0LaNVfIP zJm6lZ8XRm93tusW0RPJnR3o2q442KebOGxDcbbhONbElCb/fRnJ1kLv/3JCWZeGDo6Nkio1QwuBr sVLcpu/5IjcXo/W6NM1g==; 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 1dPrj3-0002aD-JA; Tue, 27 Jun 2017 14:44:21 +0000 Received: from mail-sn1nam01on0084.outbound.protection.outlook.com ([104.47.32.84] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dPrhc-0000YJ-Gs for linux-arm-kernel@lists.infradead.org; Tue, 27 Jun 2017 14:42:54 +0000 Received: from DM5PR03CA0053.namprd03.prod.outlook.com (10.174.189.170) by BN6PR03MB2562.namprd03.prod.outlook.com (10.173.143.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Tue, 27 Jun 2017 14:42:30 +0000 Received: from BN1BFFO11FD004.protection.gbl (2a01:111:f400:7c10::1:167) by DM5PR03CA0053.outlook.office365.com (2603:10b6:4:3b::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14 via Frontend Transport; Tue, 27 Jun 2017 14:42:30 +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 BN1BFFO11FD004.mail.protection.outlook.com (10.58.144.67) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1199.9 via Frontend Transport; Tue, 27 Jun 2017 14:42:29 +0000 Received: from fsr-fed1964-102.ea.freescale.net (fsr-fed1964-102.ea.freescale.net [10.171.73.86]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v5REfmnl032306; Tue, 27 Jun 2017 07:42:25 -0700 From: To: , Subject: [PATCH v2 09/15] staging: fsl-mc: move couple of definitions to public header Date: Tue, 27 Jun 2017 17:41:29 +0300 Message-ID: <20170627144135.15599-10-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170627144135.15599-1-laurentiu.tudor@nxp.com> References: <20170627144135.15599-1-laurentiu.tudor@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131430481501633139; (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)(336005)(39380400002)(39400400002)(39850400002)(39410400002)(39860400002)(39840400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(8936002)(48376002)(86362001)(50466002)(50986999)(2906002)(47776003)(1076002)(36756003)(76176999)(33646002)(2876002)(2950100002)(86152003)(105606002)(106466001)(189998001)(4326008)(81166006)(8656002)(53936002)(5003940100001)(54906002)(305945005)(39060400002)(7416002)(8676002)(498600001)(50226002)(38730400002)(356003)(85426001)(5660300001)(104016004)(77096006); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2562; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1BFFO11FD004; 1:xlzsKihSCXSfXnAdNQ3J5MT4x7uDYVHQ+zRu4sSjr?= =?us-ascii?Q?8//PB7HwgBjflPg2m876YutM6aig3PK+X/QBNXBDUza9HmmrYttpSDw4EppH?= =?us-ascii?Q?abjVxGrU1OGLMc+SISJaIIybr27ZntnwawFDfScIxpvPMj0HhsnD6pLGaDh8?= =?us-ascii?Q?R0c4QxfYs0yV8or3c1GreGdY/zHsykV6cr1so+QCI7OneBWPUnPV6WaqDPlO?= =?us-ascii?Q?wwSlVTWYrN5trP9qAnUVmICXw+5hs0K1Sh83cnW8V222Svax3LaMJkjyKFeS?= =?us-ascii?Q?j/MZZpchdCJGkRmRS6jPsLe7V4xSHmDSp/4kTpTNEE0iCyEEAn/P9IuAh+Ck?= =?us-ascii?Q?FUBF1/Bl44HMSzb6OKvY9Tes6SJGQRQKh1IBh1Godkt2yCkbquXTKTurEqHI?= =?us-ascii?Q?Do/VjK5LiZcwxqivErByZ87Fhx+cDAkT/YLRF/xMmL3IvACjsxYGtOzFFWPX?= =?us-ascii?Q?aP47qJFjWp3wD4nZPIOW3z088+74YNmsMlVjQKbLGQPVsCKSu0Qdq3qq9FaO?= =?us-ascii?Q?qqBrSSZT3SaXyJUnJE1Ef3DlC1hDsHC78HIlQJs8o4dKx9l0k6tqU0NKwGgO?= =?us-ascii?Q?u5MGX0A824iuy6u+9qsvaLIFbniuKyWh/TUjrva1VBznvjenBrPDk9KVAe/N?= =?us-ascii?Q?J+N0KIdwkIz7NjretwaTFGbG1rRfcCGYRR/x6U858Wkc25MFWBZh9VHBtU96?= =?us-ascii?Q?1e1MNKJi1ocP9spXjMfkaIDl2z59AbNVnVW0B/k9kSflNxJKTYhULMrxtQWa?= =?us-ascii?Q?O0ZKAegV3O6qUtfqhcO0NdWhWmZhJoUbzEKv0ENjDcgFZ02emgKOnxGuSE0o?= =?us-ascii?Q?V7KPDXib9yxEjiVMECWAR2raUZQ2xMYKMA7tpXpYCKI/bNLWZnbRAE9XPTJe?= =?us-ascii?Q?dHLtNAAmhyoMZlii4rmvKBOFwIWa7D6phT9bFF3cV7IBfU8BcLnIFPeg6dE/?= =?us-ascii?Q?P9bC8bJwirg1vm8/Ftn8qAtpMVxv2S21N9VvNJC8T4ZUkqjpcPdoJXjuHb7Q?= =?us-ascii?Q?dREI3vlICwQNFu6Zrb8q9vC2OC1CQC9zhoWOZgBTzp0sG84l+CkOD87UMTIQ?= =?us-ascii?Q?6xJ7iK6vypMHX2X7MVH81sxgbAY?= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c042ec67-9741-4e95-d912-08d4bd6abd04 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095); SRVR:BN6PR03MB2562; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2562; 3:eg4DsvPuVZDSublePya1a2QAwSEjkCwh6YF+WtLPKQm+kX6mlkZju0nHZ4ghaI2tVsVGHXbLgwlEymcnpfrrTvFtINiWNbCIKfcMPkfDAt/fMINgnjn8arhCby3actJQ4gAxr69liZjr/kJ7Q/uSnKbWk9ho6hWZdas3SJ8lbKagUx69KcdVrjNW2ZVapdYsrvoWE0X6GtYNt4zMC63po0Yq8jrtQkW2bzTZY9Hu2wyAmWJ6/rAOasnZsqFlLX9B2YyGtmN6FjUyNOZWnmCiqt+o4Xw3Ly0QQnZhR1Ko2TKmapTVFXfX4+1huxu0BCHBA6hSDtwmAVh3nDaJKyr/m7jQP0C8dRW4m2RuM0Vq5eS8LAPozb8iogMszmAa2pjuFPWKz/HFZL9fp1xZIqV9OkAZIXF3fYZscNZLH8r8Ats6LG5A2l8KBgl1z5RsS70WmFdBEeNFUyARhsZby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268UCAoiDK7Gt20BJrOj69qzu4Mi7bJOQFunY887Eb/sBBmBCztQNk0+KDc2k/pKS/fW3ZcOrCv4GKTdvrndrbHQ6Kf67eGOpmVTgVyHEVOzEHO1hYrkL0y9tGKPsXIMFkADnRYh8LUysKAO9VFa/c69kZtbJ+RSu4VCgvHZcJf5oGY/VvZNrZMGfcy2ZNi6ifvnBf231H3cfjc4rOgO7UEfDnTUwzCKnoLfv9vIYktFLyqwEs= X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2562; 31:vb6LJwYyuisaFgFL3D7Q3hr1zliHxXXAO8QHksQcuXWDTK/rVZ1S+4ypMQVvXd4N+Xe1wsKP8xd4QGIPqZewGYxIaPEsFALiJs3Ls4Rz8RxSzjU/em8JiySu3QIvlLlF9yqqnqNKiz6YPI18Th3XfbaEctwz/8bUpsQXlpac6TiXGP1aBVLqsEAnK0OEy/wWZIwMETm41gj3OAGQMECBpkMzcDXgqgC3j7NiN9SzyGL4BDA0ICPiZefv3u1LCH5dPlu6Wy3/fLig/VAjOzCDHSXcb26SR9+iGhe44BWskMd4vLqIKbiwoG4LZNhoqv4RHtF8YLdXv6I9r760j9PnVKdHTu6C7XOLJEM6JS8sxKe8RLzhE65cCT1Jo7MxskojJQYclNyZajgbxQ88u0WQFof41jAHW/XVACABgc/m2M3Np/IlBXmlSuchqZph1yFGR05hbOJBjVksfKqcqTZ3wSAqXZ504gV4jCUYGpIy/DxvKOMaF/dmdhCJiPdgSZ4Px6tXyApqTqsaLzaC6e1xm2jbdj3QJPD20Cqgy3uVK034r+XxMpXwfHyk1EoOz3dHq9AF2PXNLZoqQu03Gs76/JaWfNWDQPFK3/Y81omnwhGfhMnKCy2zgztnvI9UvrqNalF3O5qwkEu50YEv+jNn4++aziZ4xy8o+POhvRyjdd8I5uqNZae4dC4cs/bS/verEoXc4oObQkJco454nsJDaQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13016025)(13018025)(5005006)(8121501046)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123565025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123559100)(20161123563025)(20161123556025)(20161123561025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR03MB2562; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR03MB2562; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2562; 4:is7XAEfRxzCLNJBSIUbxEwD8tLvkFg3bVMZJT7fboN?= =?us-ascii?Q?dl1/vlz2TSmnkj4guZEP0rMJE1YmTShaAOsybg9rTFWK1TtpiSSjw0bQIjD3?= =?us-ascii?Q?lhixZxJgtXfcyAkBoUh+IlIS80KE4vmOSEjRoUldgP1hQadr/VLBcFk4k8Tg?= =?us-ascii?Q?aTpjLiTSsiB1f7W8eFQQne3IYTJNHSemnchx0/uqiQumczPuQ2F7/hNvlInf?= =?us-ascii?Q?zbTBgIBIx+iQHWHO1FvxMNKl6mZNUzWe5A0Mc3YrJAzacNuJjWbV6/T2JSl/?= =?us-ascii?Q?sbLrLTXRgVD8MCtdeLt0f9vSd3LNkL1vUeBtE1/fhydtpBHTpCE/TVGET9hB?= =?us-ascii?Q?e+BmjeHrjQDr5wQMS+72sRcc9k0n5bzR8Ir5ivW0K7UkEeGv+1e6brAIbV1G?= =?us-ascii?Q?V7QkoFtavfgj49Qyc+kIKJUcLTZoVVGvxAcHXMhZ6FXmQCGsb27lcTOekZyU?= =?us-ascii?Q?V0fRTq0UKKI3q/rsRHygNBiEVQJSxjARbzwBnRGfeFpmkebg//U+jCsRGBz+?= =?us-ascii?Q?eBH56mqd3wI/kkZNKhMJuc15YxCpTWIHFYeBzy1wFnV+3DD4oKUzlYNtYwQ6?= =?us-ascii?Q?0RN5VGnIjz3+grO/KAk1UV6M+iLhEhlJpdSQjMlsI6lSfbNan1MLhrU5+kBL?= =?us-ascii?Q?EI2ejeP84rt4fL9kLYrSG16mlBvH0CyLTJCi57HoBYwiUKO5TWmD89vswypo?= =?us-ascii?Q?SZsiad6UJboJBpl4StLAtUaW7TKnEvCNv7unA1uwaQyzjKrS2J2OyGkX3TMz?= =?us-ascii?Q?R0fipytGDiuCwUCpH9E+Xm8qMw7uxJ3yUnSBOkXsC3I6HviRjUioUVpOhJiS?= =?us-ascii?Q?sE3CStF6DFWwGkUIsOZFgYD0ngaIxIaCWBTQWJeV+4/KIRbDhPli+Wr+7+yE?= =?us-ascii?Q?hjMMGHNlINw0BYSOxrgmP3y9iJQyLlNIelJ7GnPSt0X031IzOE34BXquydT/?= =?us-ascii?Q?+yLqQw4CL9sfdVdj7GV4Co6Hd6dWRZ0ZmqTRrI4mYQwSChyXm8FV3HtP5SXV?= =?us-ascii?Q?OjNZY8M9aEcTyaTrK8AI5/Ca4O3cVU1gC69rxsv7Nq5J/kJOi4VOQ9wpDDTo?= =?us-ascii?Q?qOGrHcGJzkyOn3040YBN7sOzWuWXQeJybrheP5ZxIq6oygqappKa+q8yEWCm?= =?us-ascii?Q?SneR6wyifiL7RRw5xIUygJWflUpSWmXcj8SzvIclmWkCcUWNnclMNsj9q/KD?= =?us-ascii?Q?EJwp0vtbnVHwecYrLn/8fgt3KQbjdlHLp3HSg8SI8HNaWxfVglbGoKkwpXHC?= =?us-ascii?Q?s3Yo5PRbrCbbwxOZqpv4XFhQlQU3bZfw+pyHGWmhBjKZNsFJiltRkxl19kcw?= =?us-ascii?Q?=3D=3D?= X-Forefront-PRVS: 0351D213B3 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB2562; 23:sPpOKU/Fa2N9IjAH7P7oKuuggTgp4Jooal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mF3JRgNYcXp5iXGyvaOL+AC9gZyNWzZT/8VmkGEoXrl4dsg2DTx4rrFTuctTTWEFWcFxq+tiJQbrbp8UQuI= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 14:42:29.6953 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2562 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170627_074252_685476_A1A56D9A X-CRM114-Status: UNSURE ( 6.43 ) 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 --- v2: - no changes 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_ */