From patchwork Wed Nov 4 15:52:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Auhagen X-Patchwork-Id: 11881265 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8E3CC2D0A3 for ; Wed, 4 Nov 2020 15:54:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4FB7522280 for ; Wed, 4 Nov 2020 15:54:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ULOhi1ax"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=voleatech.de header.i=@voleatech.de header.b="VhJWhkSh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4FB7522280 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=voleatech.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=tkpOoJI/CdmUZrrszR14bNsCW8GWTaVFeaUx95+vuo0=; b=ULOhi1axcjiTwvz/ikCuHx0RF rExAW0OffABFRNSAkLtCFt3lzZPWIsxFECGdFPir8Y0rumhHUa0Aq7QK1ybg0WzLLWTl2sJi67S+5 fZ9t3IY4e671t1ERKOadzas+vbLDkSzmAyTCnHOi0yiyKKJd/w+gaafU+x3Xa2lGaAC2YeXyNaZB+ GP/YqMexG/+RgRZQFhJiqFKwmv8InorsJKFc0FW+Hwg4hF5mEUHRGBhr9x/j5oORYvPBfG+AD+2cE MwWW9YPRrL6+iHpD7iWgd5cO8PRWlrFQdmvt/Bb8PYkTG+CV4IOE8K+6Cmyxzqeg3Oaf3On+e8dzo 5W8cba1OA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaL5j-0005BH-DS; Wed, 04 Nov 2020 15:52:55 +0000 Received: from mail-db8eur05on2090.outbound.protection.outlook.com ([40.107.20.90] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaL5a-00056q-GC for linux-arm-kernel@lists.infradead.org; Wed, 04 Nov 2020 15:52:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L9uEGzn/7h0cZ02XL61l/0Shu8GY8eDeVIfT50tLzIZGCv3tDSYQ8eO7wCrwW4PnRRKFujEZPaB2SJ/pJoe2z/MZE/ZQ5u7vKcdAhvd8xNc2FGq2Nz+dgyXrdYZJkeRS5gwvl82885MuIt1g1rKN0Q447P8O+xCr8DUZd9Ayeil/6o5KhrpNPGAxGazNb7wwKwehEcbpMTWC+NIDPULhlUOerTDPV13wum4LWtRWFNXqDsla/qAMCASVdNX8l0mEqNSno++bEMuN5G2jIsE55RM/mKxmlQh/uKwcF0rrjKiAtfusm9K5sk2Slcwkbs7NIHayqumuaiiuxVUFWqPrNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=J+AHlxDp/2rLfOqNx3TEGg5cFQmh1rhD6yRpxO8B3gA=; b=FjpEXdkubsFhO9rlSJuE7pOr6nz5rqBgvEgE5H4jm85FPeYMs+iSn7z13BfrTWoaq6RtJAxt/XYSVvIs5+C0/i2850rnL1LliYVdrILO0JWmQ3gfhNV27/rz1LsjjM/wxfndSoi4iRbutX1/Ylo5tGn3XYS+GB3GDljoSdEyJLdSLEmwDBl+ick8KKbAa+racG9b+eHF7MnJ0y6E9tmYegvbu/+1MOgSTrusX3QojMcOYKEpezr7z3XLtDFFgNLRnRQBhzXDs8IMfiLzM1vN16WI0brVpxqhT3eFGZTV8BAdtOGnU7Wzocl23vlNQa/Aiofq4YDDhnkkkvKTR4JB8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=voleatech.de; dmarc=pass action=none header.from=voleatech.de; dkim=pass header.d=voleatech.de; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=voleatech.de; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=J+AHlxDp/2rLfOqNx3TEGg5cFQmh1rhD6yRpxO8B3gA=; b=VhJWhkShZepR2IseFvRQbpw/9bj5Bp/YNVpKfoHdieGWEx364SoHr2l6ej+dBoeucDWKCVHxfdUg6Zb8IVaWTMiHD14/Kgv27hiM7MzU6/rhwNX6IILm7hJ9OAQGRP8cv882N2ZkQqtjGYF3IeoaFDLhnoR5bzWszElaRuVTDig= Authentication-Results: kernel.dk; dkim=none (message not signed) header.d=none;kernel.dk; dmarc=none action=none header.from=voleatech.de; Received: from AM8PR05MB7251.eurprd05.prod.outlook.com (2603:10a6:20b:1d4::23) by AM8PR05MB7522.eurprd05.prod.outlook.com (2603:10a6:20b:1c4::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.27; Wed, 4 Nov 2020 15:52:41 +0000 Received: from AM8PR05MB7251.eurprd05.prod.outlook.com ([fe80::f132:2cc:34f2:5e4]) by AM8PR05MB7251.eurprd05.prod.outlook.com ([fe80::f132:2cc:34f2:5e4%7]) with mapi id 15.20.3499.032; Wed, 4 Nov 2020 15:52:41 +0000 From: sven.auhagen@voleatech.de To: axboe@kernel.dk, hdegoede@redhat.com, robh+dt@kernel.org, tglx@linutronix.de, maz@kernel.org, gregory.clement@bootlin.com Subject: [PATCH v2 1/9] ata: ahci: mvebu: Rename a platform data flag Date: Wed, 4 Nov 2020 16:52:29 +0100 Message-Id: <20201104155237.77772-2-sven.auhagen@voleatech.de> X-Mailer: git-send-email 2.24.3 (Apple Git-128) In-Reply-To: <20201104155237.77772-1-sven.auhagen@voleatech.de> References: <20201104155237.77772-1-sven.auhagen@voleatech.de> X-Originating-IP: [109.193.235.168] X-ClientProxiedBy: AM8P190CA0030.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:219::35) To AM8PR05MB7251.eurprd05.prod.outlook.com (2603:10a6:20b:1d4::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (109.193.235.168) by AM8P190CA0030.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:219::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.19 via Frontend Transport; Wed, 4 Nov 2020 15:52:40 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 91b3b023-144b-4096-9bdd-08d880d9a980 X-MS-TrafficTypeDiagnostic: AM8PR05MB7522: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3631; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zpqf3EGaW54+CPUExLD0MpTz2ZqNNkqk64JBlFpopnqWpKC7bEl/TvtJ1shTrhSxeTjJueGWcjlv5clDr7O1mLQY2Ra9uIuRSLwyUDZCzVPNQl7xvHgCphXPaYEdLDJxiKY/9Da9e2iyzqOHWbSrcNSjUH1CfwyxHEkoS6V2leWuLbjpPKqmnq9zLxOPw+8JqsfWN8+iyGnMtiRTYVCpXX7ymNi5UkFdxymsx6YgffhUS2xFVYNPNQjITTRpD4cvTiGkpXJy56nxFzLEpYxPNaZlVbd6t1WCE4yhbcq/itP5AD+6rGwR8vdXOQoyByOJ7uOvZOXZeWW87V9E1DnHjMXn9OFc2l8pZVHxrDy/OzgCGqkrjAH2WbbBTbtzDUzl X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM8PR05MB7251.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(376002)(346002)(136003)(39830400003)(26005)(8676002)(36756003)(956004)(83380400001)(2616005)(86362001)(186003)(69590400008)(16526019)(1076003)(4326008)(66476007)(66556008)(52116002)(2906002)(6506007)(6666004)(316002)(8936002)(5660300002)(9686003)(478600001)(6512007)(7416002)(66946007)(6486002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: pPNywJ3yC8nrOwVCJo105ZkCE8HdJ03VkSt/hUlZ3wJ2gLFeLl6Y68trMmZ4BzfNvvHfB8uHUhU+/l0tSONvJUILewzqdNzQZRjfmG5ovlqPm2hleS4s0oX+2u2dbi6wIEyRJ/cTIWbe3skOM+SRxRcdKcdHzhdjf/jRdak6VhXXkeoNrCLXIRrQB4xqDug4abMH3XpOgT7wwCjQcC7c2dORw3Huuw02FCx8CyELGyTGNHnB077rTD8ZIn5OLrsUJJMbWJVBnjcfHIUWRamiV9M613xteJi/FK/JNlSzBg1KngCzQuyO8NFsTjTaigQRrfNrge1fGG3Xp/KJBsXGquOO+PlzpPRAXv4cZbf99P/3EPJK816JffwcZMxTrNeMA+k/fSbTUJJvGInFPzRyk9z2+xhTlIETb9nK/MYhUhM2QIUSBY/NmzDqxjz30A+Tps7qcJoijPwqPnVSDDHjOVA4nltdQD+a2Xl/WCmJ7zrueML9UP2pYpd9krmEIqkk8T2Sb4Wor8gFJA15xtprlzgj2NIamofVRzebzLGzNXCvZzh2xrwr+PYeactXUYzHL+oN3t6hZ8A9sxzMGwn/OwLNMN63Va6N/7awvbvko9qRuWGIhhW1dg183XdMhks5UXwE9l6hi/d6txHbl0Nq4Q== X-OriginatorOrg: voleatech.de X-MS-Exchange-CrossTenant-Network-Message-Id: 91b3b023-144b-4096-9bdd-08d880d9a980 X-MS-Exchange-CrossTenant-AuthSource: AM8PR05MB7251.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Nov 2020 15:52:41.4151 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b82a99f6-7981-4a72-9534-4d35298f847b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 3CxfhG7TRDTZU0FpCBCekYoLxhvdIGmXbjsDQX7Edm34fLhEb2PQgDdoyxKEG8adLJkTGxA51/vXVy+qffPoxqcKuAEGbKKv4UEx5snkJmY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR05MB7522 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201104_105246_844061_F47CFAAB X-CRM114-Status: GOOD ( 13.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andrew@lunn.ch, jason@lakedaemon.net, devicetree@vger.kernel.org, antoine.tenart@bootlin.com, viresh.kumar@linaro.org, rjw@rjwysocki.net, maxime.chevallier@bootlin.com, linux-ide@vger.kernel.org, thomas.petazzoni@bootlin.com, miquel.raynal@bootlin.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Miquel Raynal Before adding more entries in the platform data structure, rename the flags entry to be more precise and name it host_flags. Reviewed-by: Hans de Goede Signed-off-by: Sven Auhagen Signed-off-by: Miquel Raynal --- drivers/ata/ahci_mvebu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ata/ahci_mvebu.c b/drivers/ata/ahci_mvebu.c index 3ad46d26d9d5..563cc4c64d96 100644 --- a/drivers/ata/ahci_mvebu.c +++ b/drivers/ata/ahci_mvebu.c @@ -30,7 +30,7 @@ struct ahci_mvebu_plat_data { int (*plat_config)(struct ahci_host_priv *hpriv); - unsigned int flags; + unsigned int host_flags; }; static void ahci_mvebu_mbus_config(struct ahci_host_priv *hpriv, @@ -196,7 +196,7 @@ static int ahci_mvebu_probe(struct platform_device *pdev) if (IS_ERR(hpriv)) return PTR_ERR(hpriv); - hpriv->flags |= pdata->flags; + hpriv->flags |= pdata->host_flags; hpriv->plat_data = (void *)pdata; rc = ahci_platform_enable_resources(hpriv); @@ -227,7 +227,7 @@ static const struct ahci_mvebu_plat_data ahci_mvebu_armada_380_plat_data = { static const struct ahci_mvebu_plat_data ahci_mvebu_armada_3700_plat_data = { .plat_config = ahci_mvebu_armada_3700_config, - .flags = AHCI_HFLAG_SUSPEND_PHYS | AHCI_HFLAG_IGN_NOTSUPP_POWER_ON, + .host_flags = AHCI_HFLAG_SUSPEND_PHYS | AHCI_HFLAG_IGN_NOTSUPP_POWER_ON, }; static const struct of_device_id ahci_mvebu_of_match[] = {