Received: by 10.223.185.116 with SMTP id b49csp3938589wrg; Mon, 26 Feb 2018 08:31:16 -0800 (PST) X-Google-Smtp-Source: AH8x227IaSYsCCkUgKxf5LPSEX08KM4lHjl0y/1zJZrE2tsgzoFFnazuFhOdms4aMnNcewcj8b4e X-Received: by 10.98.49.7 with SMTP id x7mr11178868pfx.101.1519662676087; Mon, 26 Feb 2018 08:31:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519662676; cv=none; d=google.com; s=arc-20160816; b=OTgwCanYi7laok4cptcjxRH9vqbqN/XM3F9CU6ejhc1Y42s0Y8qiJBbSrLCVA+aDCL KPo9Nio+cIg31kVHZh0ThmajjXosQwgyzQBPWIWx5P+GCxYfA0Yft9QWg1dXr8dLSt7y BVQQw+WevNzdoAmjAeGTY+Q7N7+e6ZrJW5qVAxfLfgtjPcCQZ/9Ix/eaQrbnlsIMxgzy yBz97/18d4HC62XihITHsGsx8hKaGPD5UV/m5B2tah7jrPRvL0FVYmG5g0KEj8Ah9/Ay jXei/vdA6QfSCFIojHoCw9+89svrs00mbb8dL2Ae+TrstEjYkC2PPE+GWzjzdu/Wf0Ub GIgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=wU59G3jy6XDHPy/yU/YC22LcaOue0S++SzrrKiWehDY=; b=To3swZStuFnROXTT90VwfPmEGkEeC21EVGNWKLAn9ZWfTWjPtjJr0Enklcc+Th2ARE f31MutIuLG+g8Ua1pRPX1UWZUTRRRcYqtQ4aCkpdr9qXZVtztzsHK/UNGwdcimGM+0Z+ Pu4NJBLlqNuHMloQIqmWC8NnVNS6fVLljWRfmTWwSS6o3DHS97iatOfEumrIa7J2+Gel g43wGK1HXAMtuVQvqImfrqoSd4Cjl1B56OJAN2shrb7mDof/XZL59mFxN7OwsnRKYaAo ZCXNKrJOCeCRLeMzPoS/A1fPUytUoVANB9kBHwliQQyYLIsnVHYxkAz/6KyQBHOIy5Q4 0pqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=uXaWdwiL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v26si5756010pgn.30.2018.02.26.08.31.00; Mon, 26 Feb 2018 08:31:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=uXaWdwiL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752134AbeBZQ3v (ORCPT + 99 others); Mon, 26 Feb 2018 11:29:51 -0500 Received: from mail-he1eur01on0052.outbound.protection.outlook.com ([104.47.0.52]:38994 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751671AbeBZQ3s (ORCPT ); Mon, 26 Feb 2018 11:29:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wU59G3jy6XDHPy/yU/YC22LcaOue0S++SzrrKiWehDY=; b=uXaWdwiLrzVBrKTOnLuLo/9jYxNhSSttG7tafQKY3iVHpFazKho5sdBoaULCcai39aBUiNtmxff5E/xBNv6HIrly0iHJL7+0CJmWR4eQ8u/SsrIAElPrF3dQHRgrYPppvmTul2gCUEaMaAJWvHCXKMsJeHOJewmlMwXJKY8LHAo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ruxandra.radulescu@nxp.com; Received: from rhuath.am.freescale.net (192.88.168.1) by DB6PR0402MB2696.eurprd04.prod.outlook.com (2603:10a6:4:94::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Mon, 26 Feb 2018 16:28:26 +0000 From: Ioana Radulescu To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, roy.pledge@nxp.com, laurentiu.tudor@nxp.com, bogdan.purcareata@nxp.com Subject: [PATCH 2/4] staging: fsl-mc/dpio: allow the driver to compile multi-arch Date: Mon, 26 Feb 2018 10:28:05 -0600 Message-Id: <20180226162807.20649-3-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180226162807.20649-1-ruxandra.radulescu@nxp.com> References: <20180226162807.20649-1-ruxandra.radulescu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.88.168.1] X-ClientProxiedBy: DM5PR10CA0018.namprd10.prod.outlook.com (2603:10b6:4:2::28) To DB6PR0402MB2696.eurprd04.prod.outlook.com (2603:10a6:4:94::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 1ffd03b6-1e8d-4e32-96a1-08d57d35f73b X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020);SRVR:DB6PR0402MB2696; X-Microsoft-Exchange-Diagnostics: 1;DB6PR0402MB2696;3:CJzFhcTNQT2XJ6n7TCboH6gDrO+/HOMWYYO+yLVu1n8F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LhH4JbyWott66dRtkqLxh8h5dhOH5Si5M3gvAE3DESG4K/6WMWUqn2sal51qn43Ovvz5dNxoJd9IS54LymvsgiL+mCbxJEHdOv0WmHVyJ+gjLCmuCKtx82V+5TM/ZF8ECVNsnueKB6L5X2eLaLiBKTHQ0FMqHQEwheufWIVcKi9J5VPz/7aB5dcdOqZnhQq6ijIjbf+Ko+GqTTV3mkIS2B44XCWfnZDyw36Uuu699XvxdXA1vIfmD9zwmKtryfikjCdVPWhLqOdf85WW6ONc/pVsS3AQpOI5Vs79Rjw9r59oK4hq2I;4:Vs8Aqe1sy+qGA6mlOJpXrNZQBlVeNf0VhLvz+uKMtEPYQ3V2gKVYYguJXPW+DpME7C7EjcqI7QoQc9qTx/cFbJ3oa6lIwBX6hclwlcc4JtIdCaVKkJTT8zcD5ChkjHIPbiCCbLLvXakuUTa85asZppwD4aSuOc6LaLs3lZlRu9/h6KkXHujAEmBX8C7TdCyer12BT3DSvsEPUDDTSTRR6BMX4lsAfAp66LgeW3FrdB3zadtUbDD1OEF5pipPutXJuTtHiG9nrBpkfBCe7iE/+TAUZc6rJsxZ/2COpV2iak9p5vewT281LQpVZi3IyOcT+O2mo9euRFArPa69KiN+nkbVHzTowufC4BewPW5qKxg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(35073007944872)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040501)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(3231220)(944501161)(6055026)(6041288)(20161123564045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011);SRVR:DB6PR0402MB2696;BCL:0;PCL:0;RULEID:;SRVR:DB6PR0402MB2696; X-Forefront-PRVS: 05954A7C45 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(396003)(39860400002)(346002)(366004)(39380400002)(376002)(199004)(189003)(2361001)(51416003)(106356001)(50466002)(26005)(16526019)(478600001)(316002)(186003)(105586002)(52116002)(305945005)(7736002)(16586007)(81166006)(25786009)(97736004)(5660300001)(2351001)(86362001)(2906002)(8676002)(2950100002)(6666003)(66066001)(36756003)(4326008)(6486002)(47776003)(6916009)(53936002)(48376002)(81156014)(59450400001)(76176011)(68736007)(6512007)(8936002)(386003)(6506007)(50226002)(1076002)(6116002)(3846002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0402MB2696;H:rhuath.am.freescale.net;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DB6PR0402MB2696;23:yI83WLSdzjAwsp/HHg/bhOuqc2b72CmB1J2CQr5?= =?us-ascii?Q?Wcg5D7fAorJ3/wOqEzvoKy8gl9PUK2y0Tjlsa3V3aZzXE9pp/QikuecZhHdt?= =?us-ascii?Q?fyKdx61siwlGDVleX31Yje7QGmV7XM4LfhvCa9USRlG+q2UXnvfcyOEKHsxG?= =?us-ascii?Q?FttF2Pn26am6NJeq+kMz4y1DrvarbMCXFLelJnlDEef8VWzUBgs9JyBs/xRs?= =?us-ascii?Q?KHrFo7igZT2uLxdu8t5o4ratuyEvVFd1NfTzLz9FIUz9SERkoRlDN+a5bWxQ?= =?us-ascii?Q?h8pj8zJp87tflyXOJGgY/QOYpsusYznNZx1NTyKwNeGVyNdBx7MUGwtCj0N6?= =?us-ascii?Q?j37P5itnOJ5L28BU9Pv+mEHXPEQLEDIoYfEedJOSI9VMNclfg8yGtbTnuald?= =?us-ascii?Q?0qhaGmCVLKJfiTt23MQs4lA7pQUC17i3yTq9GhaPMr7AvcxHXypdBTCz85OK?= =?us-ascii?Q?Po1bpsWOhyVWOC81dEX/buy4JXxEDZJl3Dn3vJIC3vM/Iq9EmmB0YFBtr4Mm?= =?us-ascii?Q?cLtK44oVNOMKngcyc0QRLCZ3vNukWshPNjEZCrvzZrCto8QsdBrmbAts4m5M?= =?us-ascii?Q?O75aMR8q0y6kgcLauxq8iPcxcqzDfCPlNgZFJF8Mx+XfK+VcFCuX+ELthBPY?= =?us-ascii?Q?FJMNLCo/T/AFg2W7+heNlQTV8+B/16UXuiP26u/EjJjhwW/g1wD+YlvhULMj?= =?us-ascii?Q?Gj8tIeEfvADE7Yzyir9QQq7otvoWBP3z5kt416g9YbAaimiXPsp2hTt5Q7Mf?= =?us-ascii?Q?I8UOMeUs5tDUS9REkz5q/bxP23x1tK4SYSrCcZolrvOU6FgnGNFDBbQKolPk?= =?us-ascii?Q?DesXxV1LLw+Uns0vjO6n/mJBMePugBwkzDcojIp4gvPy0Duyyw9D0EFbtekO?= =?us-ascii?Q?ToL7A/MGL7NUjXkYzp65653RBs0ZK3jhAjCKspRqXz7zHXAtgZwwB1MqNO+t?= =?us-ascii?Q?Me93kmdENLOWDFncZ96R/lPCAMpyxCHMUD3Pha1byU6pWerhi6uJWhPt1pvL?= =?us-ascii?Q?sxYTCN5+twwy7aYXYjXfrYdZOBCLzDZvhptEVIm4flGqwaYPVK5LmlFDT2E9?= =?us-ascii?Q?CutUmWhOjw1Pqk8cH5ET9RK3Ulw02PG99VPcEyFtyMylsRDfeS2sNj5YB3QR?= =?us-ascii?Q?Vf6mD80cfihER24K54qarnp3JZK98wUk9NxrSeskQEAHBbfr5jMxFg5GBplJ?= =?us-ascii?Q?fLz5mW7zq9cnML5s=3D?= X-Microsoft-Exchange-Diagnostics: 1;DB6PR0402MB2696;6:+enYQdVg9G6gUKXa/7D10cU7U4rPDR7rA+F2YZGgLhym4SnWA6rgfZPMr1xUiqBRM5E8M7PqCz0R8nfvnTYnPu/FuH+8zyXJVl2qF3K6PnDUK75cM9BLP2BPBASR8fnTguviEsdtiXtiE2tTSw8NMo1+WyzB4R5jBpGV3A5eTc/EW0/n9R410ZFjf8rUYogjqCPHl43UX/2DMAUFx9L180NgXAayngjYRiAoivLsz2EiBe7ZHiChLy6W6RYza5dZ3RuhZSFCtt5zRkbT/GrM9fM6J9MqSZr8UoYS6g2r5FCPuBk/bFOugCnDKrWf7lUTfy7TxEaAuZ9YRUy1LGGD3B4dvPuRg2G3lAWv7LAL2JM=;5:JMvAEpSAgxyZh+nmLAP4kN/EZmh8U9s5UaTT/aLzujBY9RD9iuJTOcfyq8dRy6z6zbDWDtdj6P4JdKivoCIY+1v4B4PGcR7zuSw+FowXxDvhT0pzO6nTz9AUTQ5iH7pQqEG7vxUfA3Pnt7bmEici5K/b9k91VcxcdN2La6GAqM0=;24:TFMCwp4Lyq9whpQviFlrOVwSCRQ893Kyyo2DR81cK6BvnfAZk6EYqBr7c5cAiUGbScenKWGp7weKn0WaLUXRYJ+Y8BZhjxK7cQTufrcsPFk=;7:o19fJQbJSegFnjN2NcbejYLXhOO9snaKGkkKp23Mb1u9A4IbYKez8bqrAfW3nmF4b3q2EltOeMzRA77/MhDOlrzzqx17WIE4sf0XduQtRydivG4nnWU1mSCMTrSMOONawlDJQKYohj0yy/cHku2qPuD8kPmxAXbSokVWNPzoDJHMQ0L6dwAhwoj5a8lFXG0PEeu8KUw7xo9EY8d2N4oqADmqCyp+A4HZkeAAgSNmbDojg6CByixC9dbAHLm45LBY SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Feb 2018 16:28:26.5221 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1ffd03b6-1e8d-4e32-96a1-08d57d35f73b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2696 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Drop dependency on ARCH_LAYERSCAPE (which in turn depends on ARM64), thus allowing this driver to compile on all architectures supported by the fsl-mc bus driver. This was compile tested on: - powerpc (corenet_basic_defconfig, ppc64_defconfig) - x86 (i386_defconfig, x86_64_defconfig, needs CONFIG_OF) - arm64 (defconfig) Signed-off-by: Ioana Radulescu --- drivers/staging/fsl-mc/bus/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fsl-mc/bus/Kconfig b/drivers/staging/fsl-mc/bus/Kconfig index 5f4115d..3424530 100644 --- a/drivers/staging/fsl-mc/bus/Kconfig +++ b/drivers/staging/fsl-mc/bus/Kconfig @@ -7,7 +7,7 @@ config FSL_MC_DPIO tristate "QorIQ DPAA2 DPIO driver" - depends on FSL_MC_BUS && ARCH_LAYERSCAPE + depends on FSL_MC_BUS help Driver for the DPAA2 DPIO object. A DPIO provides queue and buffer management facilities for software to interact with -- 2.7.4