Received: by 10.223.185.116 with SMTP id b49csp3938590wrg; Mon, 26 Feb 2018 08:31:16 -0800 (PST) X-Google-Smtp-Source: AH8x227FJmGGVRKT7mdh/7tu4unWN2TN/MhBj1qUb5RfFkXDmyu/d27rGoEbv1CLmI/TgfNl6Z4D X-Received: by 2002:a17:902:5269:: with SMTP id z96-v6mr11152959plh.385.1519662676090; 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=w/plypLEB3IAzhjHmO5D+gFSXdq/mqSqDLvegWxV3S3xu4RDdq2uzm7EOH6DPSPisr Xvogmk5pVlYV8AqP4Mm80++9C2LTkrtY+sJ8PsAI0scdVK+KBD5Fzy5emKzLAbN8VCDn x6oZIkKM8tq67xw7GGgZ5NDn9aOyowzWzw6Ef0nlr0YbxzTGXeWReM3A9kk9Ii4kHzHL qiw6BhGrjdkgpJH+lJosE4SMia/eH3jm9BldQqqiA0WFxj+I208D3Wh8zbbNzJ5r/KQ1 WUy/WDS+2VAT+v7A9H5ZBSlPeHobuzipDBI/NCoBFqhDKwZrfD3mFM/ptl5HC/hQqCKO t62A== 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=3TboyrgesXYHPniOf0Sm1h6gHv5v/teh2RojRX45ItU=; b=ERqMMswije61GkI90PF33bqRokWjn7mZFnDc31ainFCniDSK3Qv17R/ZXeCUno9twr uvBDmTlsNayCReDySeNEWxSC+eKS5X/MoBjpMFbA9NRTgaBbsCGsgUcWW7LAzT4mFkPa e1beUfIpVkCcF8V4FC17Xwm1xpq2Ok4uSALAs5B+ib06R/p3A9t48FJF4GXRIGVAQxtC KGVW6DXXoesVf9GoLcEM+g1NXU2jbrOcp6eh8+G7N3gYABCzDRcW6Ee7dcPWDw97tSg0 QPocqDH+DF9u8ySZ2ssF/P9mJ1Zv0yrWUyPPVJMmULQybdo9fKUT/rxDAXlVa4dNqH5w PpmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=hQLd4tNv; 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 e2si5704876pgr.242.2018.02.26.08.30.59; 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=hQLd4tNv; 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 S1752161AbeBZQ34 (ORCPT + 99 others); Mon, 26 Feb 2018 11:29:56 -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 S1752138AbeBZQ3w (ORCPT ); Mon, 26 Feb 2018 11:29:52 -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=3TboyrgesXYHPniOf0Sm1h6gHv5v/teh2RojRX45ItU=; b=hQLd4tNvVk4phv1XVWnnONB74ygiMykMhVsprlSG6yPooNB3fE1ThE9H6xou7AIJ0Rua5PsdYlIVd+dr1xV5x4ZCOuL5Lzqaab4G1L3IjtGfkfSaZMQKBPWkIxkz4c/WyeGhI/nUeo2u+qY5PB+IIaMZHJqHcdjylmDeqG6NzoE= 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:29 +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 4/4] staging: fsl-dpaa2/eth: allow the driver to compile multi-arch Date: Mon, 26 Feb 2018 10:28:07 -0600 Message-Id: <20180226162807.20649-5-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: 1e58e7e3-b1b6-46d0-43cf-08d57d35f94f 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:IvRJ7E4kCclHpR/vbpsV6mUzY9aJ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u8589FY6IrZjbFXEi+MP3mevCjdqtyEglNDv00FZoEqGpI/a5ZdyvFzE2Kpm5Z1ntOKhHxWUxCQsviC5zXiH/zblQNG82zYFVCc4l4ZbvX2CRZE+uVK6z0v8VoaD7wXsHtDkCOC5u3gejQWbmZz9mzDdOneetDt2z9Hg23l9/bdEqg2GG5RinnT4swaIivHFgm7scL/Go/zOMAXyc4hBMiX4eFMAA8jH0O5k621Yfqoj00JRjr5zIVUN0j+s6omAdiOODuyrfKEJsZoNnfatwuheYNY44aoRZqAxPxFtYrhU+VP9/Dk6laZpbE7WOZ7cxIrCl3;4:zeb3eN0sGTowlr96+Q8LeqwGNHvvQKrvdnK+i5Plhd3tlMgIxHihenk3yPZafbPxmOtL3bJDxB1fiENQ2mTi2i6eT2PDcKgVN59SSohEcP+nahpDQRGrwpuMWviW20VO7NBR4nLdi8KW0oUk6bG0fAu8cfqcPGwtYo/UGk3y3x7h9Yq7v2FciYqsdeRMtOlzRKQ7nGKZ9VWphbpshG29MmTL0d8yv5RjUChn12izFgGxDIFBDhV+KLHVlpu/p2mXYVzr0V9RQP7OyouRmgRWuClXWHShYKcoPSLONqpvLZvpwJAW2ywNSyn+XDCe+VD7 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(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:Cs7qunrk2C06xF/ptoiuPQatOVqVn4mipr2k/ib?= =?us-ascii?Q?bo4LPBsiBi9McimRqnoT0sJkjEBvK9nTJvoXqVVaEZM1+iEG4YN6KJmpRcea?= =?us-ascii?Q?gFbqJIqR69+FCXpKkSbxcQO4fwZUUBXXudnKWheXrAX7JnFo/CTK8seyzlYl?= =?us-ascii?Q?5nxmEiNW50y+tXCSEVyIgs60O7U/sPXAtgz2fodZEQoFuvHfrtjna91TlirC?= =?us-ascii?Q?0ZtHNXxRAtBPH+aAxR5LE2K2v9QpC05TzmFS2p/m/Ywo3BgexaV4MJG4r9yS?= =?us-ascii?Q?9F52kq3LgRiXYq8b9nZRad0FZiFMktJjstKg0mt6gYqHZCwnnLBzTxdSCkAl?= =?us-ascii?Q?QjT9iOcvNfiq7htCpXWK8ueQGj0CQJSxBD0DoiIKTvHRrRfHhUT5xoeetsKg?= =?us-ascii?Q?rdqt1+Fcd3tlBoEo1l4BV+AmjlKjYPUaqwQFQjensei8zJrKwhJ9XfN5d39V?= =?us-ascii?Q?guAorWOEIOUbP5uL4IsdGAybUMQBTqMkjM35JQQ7tVRqy1a/iFa9B/d/UjGE?= =?us-ascii?Q?i0OWDxPe7WpZBT7GPF4YdL0PdDDAkQ9A3Q+VZvwC2zweNxPHa1zZ1mXP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vwwVhaguWouL6pJSoDkWMRekegtajd9qNJjpjCTjED6kpW5I35vluRvVhbawynd25c1ziEHo8vOmIrLX6rdwCbra2bXKhigcPOw=;5:uaQvmKZNtDw9qYuDtjwkELflc47TENuPRgn7hKffpHj9F/dBlnfHrgcsnoGPaYCP5i5uBTfC3e6lazEEAMx8inyriOfrflqAyOugxozgQxqQ7y4E3uiUnlfxvbcXIwCf5eTpc4ZRsHGzeepDMBNolItPaLRVH8r2qKlmKbtaPEg=;24:qw/0b36cfnsYjXzN02XbD5Lx0lYM0xfqCqvDEMfcOb4aY7cIghVOg2kR11mnIdftVlqpwdGGNMln6XBPvprUOq9CtG7oMrH5mWD/wBqquqs=;7:qWed226RkayW5MoLdyBRQhG26sDtS2eju+hEFAlkKW+i/U7LmYg2xK3Edoz1da2QjeKFBHWyRd47cuoWMvv6yJhPKtULa6oYKbrjHuuzIND2CymsVPWbtOGBFInfj2Cjkq8xSPErljC3osz/+ymPl3dCi4ONHZ+MyS9ILGex+SuVv+8H2rVPdVZhPf6TcS7BbJ7a5ORYX/2jhMPomHlrbV8cUUnETFFziTtmYiprOUSTZsLcERlLFxVMOK3Kr+g1 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Feb 2018 16:28:29.9909 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1e58e7e3-b1b6-46d0-43cf-08d57d35f94f 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-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