Received: by 10.223.185.111 with SMTP id b44csp634328wrg; Fri, 9 Mar 2018 10:42:57 -0800 (PST) X-Google-Smtp-Source: AG47ELsaScDL6fi1/9Ijf8Q0ZkxzjhxivxDtWd3KJkeQQ3VZikbx8GYdAGqsJ4HMWqJ9Hnl9VZk7 X-Received: by 2002:a17:902:6e0f:: with SMTP id u15-v6mr28187782plk.78.1520620977306; Fri, 09 Mar 2018 10:42:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520620977; cv=none; d=google.com; s=arc-20160816; b=Xq1m51TF0rIo7uyfQxIgVOw9LyhRoGSHW4wbMrKJGBDeiUWVQzJkW2SxmKtFIFTsqs ISv1j0NUEn+qRI44rOwZLOqC3mAdMlmjXfaMDmeLOeiCYpbVHPDCnBIjBONq4aj1t9iF zLEl1C3aNyQarQkx35TQhAXdp3jzQX/wKf9SOpsaLhSTvPoHwYrZzwIp17vrpUjLDcgC yt0RVnOY8S1aRrOgXNQEJcJzZP3y6ByA1J50UrW0qtj2WM5H67z9y9EddvEVvuA64P8f e5ihmJP3Zw1rD9Qc1CnKIWEVIq/g5ZrG10CyqCfXp45EbGS/eaOJf1YmrZqsliyPcaQG Y6fQ== 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=akL6n7GDprPfGJYnQD2W6eXcgpeeK5Xx6zLVLonluew=; b=pipR296onpHBq/FmF2tEZfEiU3DiV0HDZP8UZOA0LJuT1HNZY8xVsLgnTO/KZEDtxV hAcTDWK0HLk6pMyivZn7+k51KhNfTCE4h/Ni7VKZHC0zQ9sOMY3uSA2WcVD4WHQrwDTb SLUsRIJ3VxxcngDaVjpn1V0YiCWIwYUHV9ar5PHsLNFKL2Lhz5FDw5LFB64ix8OEA7SX P+zO1WTOOCKWdmbKipbZyufFg/BS4bJp+WAzn5WYCRUwE1chCRuAJMf9AAgAFcLQ+DQI P9+ryraiAe8vmQsSMEOu07wAEf/7fUwTDm1qsSj4XaB/7GTpH0eX3JCk+yeQXTOwonA9 v0Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=xMRB/vdM; 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 x1-v6si1281274plb.248.2018.03.09.10.42.42; Fri, 09 Mar 2018 10:42:57 -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=xMRB/vdM; 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 S932405AbeCISll (ORCPT + 99 others); Fri, 9 Mar 2018 13:41:41 -0500 Received: from mail-ve1eur01on0040.outbound.protection.outlook.com ([104.47.1.40]:56367 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751538AbeCISl1 (ORCPT ); Fri, 9 Mar 2018 13:41:27 -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=akL6n7GDprPfGJYnQD2W6eXcgpeeK5Xx6zLVLonluew=; b=xMRB/vdM8mwkUEx/N0PVLzue8uSU7XR3KQGAUKyq9ZPxQBTSH+6PEvIApGJiYjsKb6v5yACLhpDvkxQaR/3kfeN7RWGaUWFAjG7PT01eqMHUlpt6H+KnMl8we0GJVjA+9Je7HBOY1Leq/cDhaKdrY0ljrlDoQI9hopK1kgeGiSM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ruxandra.radulescu@nxp.com; Received: from rhuath.am.freescale.net (192.88.168.49) by HE1PR0402MB2699.eurprd04.prod.outlook.com (2603:10a6:3:e0::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.14; Fri, 9 Mar 2018 18:41:22 +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 Subject: [PATCH v2 2/2] staging: fsl-dpaa2/eth: allow the driver to compile multi-arch Date: Fri, 9 Mar 2018 12:40:56 -0600 Message-Id: <20180309184056.25370-3-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180309184056.25370-1-ruxandra.radulescu@nxp.com> References: <20180309184056.25370-1-ruxandra.radulescu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.88.168.49] X-ClientProxiedBy: MWHPR15CA0040.namprd15.prod.outlook.com (2603:10b6:300:ad::26) To HE1PR0402MB2699.eurprd04.prod.outlook.com (2603:10a6:3:e0::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 5fcc2101-2a0f-4b34-e0a5-08d585ed5c2e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:HE1PR0402MB2699; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0402MB2699;3:3wIu+zcEhSLERRNSNso2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h+8rwreDTdLJQFi79F/xhuCKES1RRq4WnXEKGYUk0BIHCP681RDLaZDbkoTRzrTblBv4vGpp4suan69pfgPqCKU2FQOfxbbzBIrjPjBBlaCd4rJU5sug3vB3M1y6iW1zbbo8LDMXc8yewQNj7UzGdml9woX1yIglWeTD3OxcDU39bemRoYgPJuE7IS+NYGlMBhOMZ3yZyFhh4naT2TWENKhBPpAz1GQgt1JZomoLfHXaLwFHImRfsmPYrFRidPqxyeXn8j7R5MZUhk/7J4caSb3bd4X1h8gMrlX9Z5+gFMnRz17hvx7NB9k1155VHveHgglhq2kDsfSryMqBE5;4:sKZFuHrmday0eV6reqhIntpPcCjeU2rc7UVn5R0TdmTjicqmJvKIzB6hYQyti/FfaY/RFDbqqkXBMbyFd9ge6Phh2l78filfP/j/YFjA7pWK1PuhJA5MrxHEPUb0g+hUkNN3FLityPOXnIb5qzM4peFACBNPx7OdaooNnwt2C/2oNHG1ovMPHGhcYm5Bd+532sqGVhW+/aEJv3hFXeVuWmwoSGPFDA6ITayv++8gKxQM/meohj2CSsWxAR8gdCE/rIX93wi6gK35Rc5KCzeL+dnvmGM3qz2kVZaZXW6FJMKZRGSLP2VSdjJV9NBxVaXP X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231220)(944501244)(52105095)(3002001)(10201501046)(6055026)(6041310)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011);SRVR:HE1PR0402MB2699;BCL:0;PCL:0;RULEID:;SRVR:HE1PR0402MB2699; X-Forefront-PRVS: 0606BBEB39 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(39380400002)(396003)(39860400002)(366004)(346002)(376002)(199004)(189003)(48376002)(105586002)(305945005)(2351001)(106356001)(97736004)(2361001)(6486002)(52116002)(5660300001)(81156014)(81166006)(47776003)(51416003)(8676002)(6506007)(7736002)(59450400001)(76176011)(478600001)(66066001)(25786009)(386003)(68736007)(8936002)(50226002)(86362001)(16586007)(316002)(1076002)(2950100002)(6512007)(53936002)(16526019)(6916009)(50466002)(186003)(6666003)(26005)(3846002)(6116002)(2906002)(36756003)(4326008);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR0402MB2699;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;HE1PR0402MB2699;23:U5felu6lAUfZkhxqhcwyGO6ZN9+J8NY1T+xoYCH?= =?us-ascii?Q?lgJLMFWRm73jjkm2c3OuuOaHuaAGGU5mD9iQuH+Jc77fDTIMo++B0Q5iF/WB?= =?us-ascii?Q?pVLRw0/yeJYxW/4C+K0d4mOJC3ghOoIFGwA5utv/8+8b4iK10rjmKWEB8S89?= =?us-ascii?Q?3vfLud32KWmD+vCWeAG1FmPrqm5g/LYef6TABFMcKAmN+CNuPNcY7A3o9rg4?= =?us-ascii?Q?uBEHGOBun9TZBvnUG9Ydyl2lu9T8pKi+z0nLnTvb3QydubGeaMk4i2HrFWAt?= =?us-ascii?Q?j7XRHHw9bPHJW1QowWYOVR+Ed3Z8QI7Rnc2yf3Lv8npj7GhgyCvM6IoCRrJE?= =?us-ascii?Q?HQdtfL+KSDpicObFBxgUV+9rBgOgmW0LfuQDwM7pTX2ZAfxIXOOWEZ9fvttD?= =?us-ascii?Q?rIhHWLykrihCUVah9ZfGfrPFJU4AU+nfrbxLc/d/3ZCcwcKq3NIDBrsHDxpq?= =?us-ascii?Q?+wIzqmq+D1Jh7WoPj3NTrYRlX8RTmOJRj0UMTmEvTCdkprY3bN1RP5Y4CJ4C?= =?us-ascii?Q?HBBVwZ5UFfcoWc88loKnekPjcG6WjQyJrjC3yfd04h6UuPC/JFmF1qiSsVw9?= =?us-ascii?Q?wf2Ig6MDD2Z2fjPOmMTQolurexSWHYLlbJmR06WWeCuVgfSlJPTRQp67qXjc?= =?us-ascii?Q?ve3MWx4rnHCbv1Bi2y5TI1WLUkfmJHDVRlx+VPWKa91r1ILj7gu6NtasAVLG?= =?us-ascii?Q?ZnyukbmTOWHD5K8yep66f8T+MWgzsvSnd3oWX0QRTeYcMYzGPHeN00ujNgaI?= =?us-ascii?Q?3zLRNkru6DEv+DNZRxaXbhWvtAF7YmTmPFRs4JZAr39yi5omNRyutXawEUoR?= =?us-ascii?Q?iBPjd8Mf2tCvJBJw9h6QrTJt3H+Vx8T/m8YQrft9pMOxYBf3UJbJvDHcO3PZ?= =?us-ascii?Q?pXTkA/Bsk7zUSao0BLK2vAeiScNrjEW+da5HuPM+nonrtcny+HCNXAEdMXrQ?= =?us-ascii?Q?GYqiGGtq08qaZ76dXQOkwvTwnKmWCywi/4OgIgoXunscG0VeS9rDIDTQ1O1B?= =?us-ascii?Q?GQY+cs5uFAywSZvPSdF41AegJVX61LftBQA4mjJUkA0TGmDmh/dD4iWVXPwN?= =?us-ascii?Q?TFx/W2xYsA1SNq/HmpuiH7XGNLscZ6IJiJ0MoPqWTgY8vS3RRXAKupimtODw?= =?us-ascii?Q?oPxGkILdW0o8O/U1+L90qLIMNQ1DepC+EjCsfcvR9mj8r7qqjOMlFoUat8BT?= =?us-ascii?Q?XdKhICVwLZx0wIrM=3D?= X-Microsoft-Antispam-Message-Info: o109UnwcD8Ti6Wz1znEzsdMj791Gzgbxo9Vo7u63c+07EmcfNHACmBv4kPXCI1wBcokj7kgKcX47gdQMhFyzjLufrKpST6hhoGRlDSoMzPU5/8pRBIlVB9QPhgrpeSVNVE3clvzDMNysRxhW09/QCXokaO1DwvDljIHcRXE7YFoiFeDCpSsNiRZ9SurMtPUk X-Microsoft-Exchange-Diagnostics: 1;HE1PR0402MB2699;6:yv6RHrQm6VcSf+HkW2Zhq6aZh4wky9hTL449rdev79SZpTm+qkDjAMymJVAaadR1Q91uWvcthxjveIj939evxAU/OHbjmlrll9TZm1a21J3wNmBR4jjG3e/39GLzSvg82kNquqTwTzeTNfnKs7XU8A3nu/PY5lXFSBUrAyKpEV751k+JIdiEzJvCbSGtY92C+7a41/WZwGxBmgdXCD+PmtKYgjzmwrK22B9/yNGgHG6yUo0R6y9RgomEwlWhBAHQZX/N+XxqOFof/ofP93qwrVgXZQcCYpmn2fVKQQbCczrwfQcKvdRbUY0yaXIzDVf6LuZfhAdwA1RLcGg/XJdlibYo6W6XuylNsspNUHsHrZI=;5:rYmg1rqfcjcX+0CLXPy5gB38jSipy/ksTxb497zKEX7f0D4uDmK6Hc1y3vv/0zyzKzxCYbF4b6xYvJkib1UsfQcBIDEHp2TXxNPul+5IFCqf3dH7dh1GBYANTt7b4DfQbrH/ddDc/6HSQEj5WT/BYesLkh+gF9qqzC0eMMZ8z1k=;24:AePpzuqynUtDA+eCztYIBFAlF6Ea4znF54kvmgmQf1z2omI8Ww3IoFLL1OtQJLiAe8UsJgMGR+k26xHBn4tmycwtS8NphFg7imHYIVaVAK0=;7:J6Lqeoyuu7h0+BUiMK8h/glFvmNIoFpAGi4XyAupWUx4jwHmOSQUAUO2pOQfshPcSblitLV4ux5tK7DkxTsHUta/uN2tUaWLwyWgITop3l0Vj40UskFF4+O8K3cAHCal2X5Jz43xkxLoQzyYYi1CpcFHj0JFVE6A3oOpRzYiD6+HMiVkac+Lnm+OLIBuk3dzOb+ytjhWJU1uEz6dDOqgl/iSTCPVcJTlnyqog+UlYfZwGNuaavfzT1ifh7EehKT9 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Mar 2018 18:41:22.2487 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5fcc2101-2a0f-4b34-e0a5-08d585ed5c2e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB2699 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 --- v2: no change drivers/staging/fsl-dpaa2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fsl-dpaa2/Kconfig b/drivers/staging/fsl-dpaa2/Kconfig index dfff675..730fd6d 100644 --- a/drivers/staging/fsl-dpaa2/Kconfig +++ b/drivers/staging/fsl-dpaa2/Kconfig @@ -4,7 +4,7 @@ config FSL_DPAA2 bool "Freescale DPAA2 devices" - depends on FSL_MC_BUS && ARCH_LAYERSCAPE + depends on FSL_MC_BUS ---help--- Build drivers for Freescale DataPath Acceleration Architecture (DPAA2) family of SoCs. -- 2.7.4