From patchwork Wed Mar 27 19:29:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13607531 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DC22DC54E67 for ; Wed, 27 Mar 2024 21:48:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=axeXGMdihn1ZlDBfTGTQjDwzBgoJ4ocQ9FY1p86SbBc=; b=rxzMi3W9PBLHUc iTwlRw1DvtiCie3IRt1Mpwk7JdZ41Dvbpls+B2moIhvlucrzcn+D3t8p3tvcgGxOihpVHLZLyWQGC 0+GYX86pKBMaE0a5ubcU/6Y1sT/L/ZxARG3XkMEwU2JynapkZW+C3wZ5e9cFhl1xF45LhJ2t+mTEs 3i4E9z8dndipFNZDHwXQl4iUePNEWdgqY3/4HlrKX1yFsI1vGJtq0pLigH5EmCBYx1xK3nwhDWGqg iGlmIKKKP2iUqyYQtvUNKA7AK5kHH/c/MmpWJExsWTrWxv5DihIXeXBihNOtzYz6KRjsblL5xc4MS NNDgp1C84qkSFM+dwTbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpb8G-0000000BHvg-1kWx; Wed, 27 Mar 2024 21:48:28 +0000 Received: from mgamail.intel.com ([192.198.163.8]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpZ07-0000000Ant0-2C6I for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2024 19:31:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711567914; x=1743103914; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=j5gvoDGybQmWLbfFLzUmE6T0bPJCKLuCLg7N7OevHog=; b=EDp0wSVEApYAZY2ttosJabuAsUOTK1Yl25qkCzPGXDVoQ8PzP8jrIg1A 39+WpUAjiCjCDBNadE3m0yn6sE/h5gARGYYL7BDSo7aSzLJaZMz/aqLLt nXIWIO3kxahCVCVfvT1/ZDnQyXeQYnXnzkRHe7EVjRKCXCmd5/wOnA2Ok +YpiUgCK1xb5drLlx9TvmOODRQ6PVO0tWNec5T2FJFFPuszr/cJn1DlW9 oZKv2uIW6oTIlmBtI9jNvxt+7sSop9p3+O17RfdISVyFseD3PD1k2IRb5 trTBqzEuo3DLGJpvJInCXXhd0007zxpxlEkSqgT7x7mZD1cNZ5rMZuLxw A==; X-CSE-ConnectionGUID: eIUzB1mWQH6xG4kAs5q2AQ== X-CSE-MsgGUID: 2ofv4n7+QlWDtMVUPtO5SQ== X-IronPort-AV: E=McAfee;i="6600,9927,11026"; a="24187354" X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="24187354" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2024 12:31:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11026"; a="937075031" X-IronPort-AV: E=Sophos;i="6.07,159,1708416000"; d="scan'208";a="937075031" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 27 Mar 2024 12:31:46 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id EBC4A8D9; Wed, 27 Mar 2024 21:31:42 +0200 (EET) From: Andy Shevchenko To: Mark Brown , Andy Shevchenko , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Russell King Subject: [PATCH v2 9/9] spi: pxa2xx: Don't use "proxy" headers Date: Wed, 27 Mar 2024 21:29:28 +0200 Message-ID: <20240327193138.2385910-10-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20240327193138.2385910-1-andriy.shevchenko@linux.intel.com> References: <20240327193138.2385910-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240327_123155_599949_485AA87E X-CRM114-Status: GOOD ( 12.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko --- drivers/spi/spi-pxa2xx-dma.c | 10 ++++++++-- drivers/spi/spi-pxa2xx-pci.c | 6 ++++++ drivers/spi/spi-pxa2xx.c | 10 +++++++--- drivers/spi/spi-pxa2xx.h | 3 +-- 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/drivers/spi/spi-pxa2xx-dma.c b/drivers/spi/spi-pxa2xx-dma.c index 26416ced6505..751cb0f77b62 100644 --- a/drivers/spi/spi-pxa2xx-dma.c +++ b/drivers/spi/spi-pxa2xx-dma.c @@ -6,16 +6,22 @@ * Author: Mika Westerberg */ -#include +#include +#include #include #include +#include +#include #include -#include +#include +#include #include #include "spi-pxa2xx.h" +struct device; + static void pxa2xx_spi_dma_transfer_complete(struct driver_data *drv_data, bool error) { diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c index e11a613bc340..6d2efdb0e95f 100644 --- a/drivers/spi/spi-pxa2xx-pci.c +++ b/drivers/spi/spi-pxa2xx-pci.c @@ -6,9 +6,15 @@ * Copyright (C) 2016, 2021 Intel Corporation */ #include +#include +#include #include #include #include +#include +#include +#include +#include #include #include diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c index e22d9d29c7e9..86d0f1064a45 100644 --- a/drivers/spi/spi-pxa2xx.c +++ b/drivers/spi/spi-pxa2xx.c @@ -5,24 +5,28 @@ */ #include +#include #include +#include #include #include #include #include #include -#include #include #include #include +#include #include -#include -#include +#include +#include #include +#include #include #include #include #include +#include #include diff --git a/drivers/spi/spi-pxa2xx.h b/drivers/spi/spi-pxa2xx.h index 08296729ea80..f1097c96c50f 100644 --- a/drivers/spi/spi-pxa2xx.h +++ b/drivers/spi/spi-pxa2xx.h @@ -8,8 +8,7 @@ #define SPI_PXA2XX_H #include -#include -#include +#include #include #include