From patchwork Tue Dec 3 10:41:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 11270973 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 68FEF138D for ; Tue, 3 Dec 2019 10:41:36 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 172C120659 for ; Tue, 3 Dec 2019 10:41:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.kernel.org header.i=@linux.kernel.org header.b="IDfGNp0L" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 172C120659 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+26986+944+1554929+3438807@linux.kernel.org X-Received: by 127.0.0.2 with SMTP id aaaaYY1556264xaaaaaaaaaa; Tue, 03 Dec 2019 02:41:35 -0800 X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web09.4025.1575369695408452328 for ; Tue, 03 Dec 2019 02:41:35 -0800 X-Received: by mail.kernel.org (Postfix) id 947E5206DF; Tue, 3 Dec 2019 10:41:29 +0000 (UTC) X-Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C666820659 for ; Tue, 3 Dec 2019 10:41:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C666820659 X-Received: by mail-lj1-f196.google.com with SMTP id u17so3224632lja.4 for ; Tue, 03 Dec 2019 02:41:27 -0800 (PST) X-Gm-Message-State: aaaaaaaaaaaaaaaaaaaaaaaax1554929AA= X-Google-Smtp-Source: APXvYqxvYpXJy7jtyfmN1SBOdqcbnzkZgfUnaBOmUa4dLMSbfNvAJZAaJsLSVy73hCRL4bxXrVbqvQ== X-Received: by 2002:a05:651c:208:: with SMTP id y8mr2180778ljn.36.1575369685613; Tue, 03 Dec 2019 02:41:25 -0800 (PST) X-Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id s20sm1083490lfb.30.2019.12.03.02.41.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2019 02:41:24 -0800 (PST) From: Linus Walleij To: Linuxkernel+Patchwork-Soc via Email Integration Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij , Andy Shevchenko Subject: [PATCH] ARM: pxa: Fix resource properties Date: Tue, 3 Dec 2019 11:41:17 +0100 Message-Id: <20191203104117.85517-1-linus.walleij@linaro.org> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1575369695; bh=O1sHPKtnbzUja+hhrS44c7Ej+C7lxg9H0tMYDxuPqp4=; h=Cc:Date:From:Reply-To:Subject:To; b=IDfGNp0LfPqBt7IEYs4Cgnpad2j4r8Gd//C6ANDbTs/vzhBfnSitSwFnZa6IxnXxX5o yWBuzc6tTXHQ4ykzzXBLGeTMrEAgff2eCZWdD3xw70eN+GeWWM7CGXay1X0NMtjn0LMa9 5acR2RRDvwTmQgxumw0jeE59wfizewga83Q= The conversion to properties changed one assignment and missed three other assignments in the same file, fix it up so the platform compiles. The bug was reported by a few build bots but noone noticed. I noticed it when making other changes to the PXA platforms. Cc: Andy Shevchenko Fixes: 50ec88120ea1 ("can: mcp251x: get rid of legacy platform data") Signed-off-by: Linus Walleij Reviewed-by: Andy Shevchenko --- ARM SoC folks: please apply this directly for fixes. --- arch/arm/mach-pxa/icontrol.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-pxa/icontrol.c b/arch/arm/mach-pxa/icontrol.c index 0474a4b1394d..151e26ec0696 100644 --- a/arch/arm/mach-pxa/icontrol.c +++ b/arch/arm/mach-pxa/icontrol.c @@ -89,7 +89,7 @@ static struct spi_board_info mcp251x_board_info[] = { .max_speed_hz = 6500000, .bus_num = 3, .chip_select = 1, - .platform_data = &mcp251x_info, + .properties = mcp251x_properties, .controller_data = &mcp251x_chip_info2, .irq = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ2) }, @@ -98,7 +98,7 @@ static struct spi_board_info mcp251x_board_info[] = { .max_speed_hz = 6500000, .bus_num = 4, .chip_select = 0, - .platform_data = &mcp251x_info, + .properties = mcp251x_properties, .controller_data = &mcp251x_chip_info3, .irq = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ3) }, @@ -107,7 +107,7 @@ static struct spi_board_info mcp251x_board_info[] = { .max_speed_hz = 6500000, .bus_num = 4, .chip_select = 1, - .platform_data = &mcp251x_info, + .properties = mcp251x_properties, .controller_data = &mcp251x_chip_info4, .irq = PXA_GPIO_TO_IRQ(ICONTROL_MCP251x_nIRQ4) }