From patchwork Wed Apr 17 10:54:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13633205 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 B9708C001CC for ; Wed, 17 Apr 2024 11:04:32 +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=F8d4pKPyPbX2h5uvYB+6c92KAYYd8ksgcXpHAmd5/LU=; b=e0bVwLL8Pegyqt /F0yyHH603mG+ScspHM1gAjCFLWXvs5k9xbU1TIgW1WptEJymAJWz2g8elo/jIoY0nfD+QVuVfs74 IIfDGZrWI/yqiUi7Y/9cPtXRVeBnn9MQ6AAlYirChXq1Zv63hE41eXFrGvS4zGG1AkvOFvcr45qWZ Chtpeo/MqTtyeH8TptPYgWpbpVhSMqAUgge8gEzb0cAKm7XIDTcrwpQV7D1AhoKPcIkr9UdUSmlaB ceOj7iqOUE46aE0c508gMPJX6CFrAseOOBXNDnq25aRKNC3aq1O5yT0XyklgPKLJXztjVzeGheeRw IFAW7b1Wnm80nRU3fsqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rx35L-0000000FhlL-2vhq; Wed, 17 Apr 2024 11:04:15 +0000 Received: from mgamail.intel.com ([192.198.163.19]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rx358-0000000FhWQ-0cpj for linux-arm-kernel@lists.infradead.org; Wed, 17 Apr 2024 11:04:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713351842; x=1744887842; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fTowosBJawg2jktG1ze451cVnqPzvsaV6zeLVnumwuA=; b=JXDZQBVCrpvqRIjj/EXwPTiRWj3Zd5TtnEyFjXGxk8o1sQ9fM9jZbXNI 0uDcNYgw4zMd9K66Az3KyZi9DLM2unB5Zp/XEZBJnLyQkcW9R0DE2NHvQ Ffa6cfcFC8aFwCt5h4hAocICcRV86jH89awOLB3YPtUu4aby8qJwmtD4z irtY3M6XL8H6orAiRbCtU7lroqf9/vxaI7rwqE5iluXiwRARmbeNxESWO n453TEW684yY8tuzdlyCJJ1gu99F7ZjYF56YX988NiiFS8JTnGogbG9eZ K2WLV5FDMTS2eCvXEgcVsJGcuzOXrbzrkJIdQY0yXARMFbYka77qAEmjp A==; X-CSE-ConnectionGUID: PwB01PzKT/iUZSNUYas+YQ== X-CSE-MsgGUID: zKF+zhFpSU2xLTGDeS+Icw== X-IronPort-AV: E=McAfee;i="6600,9927,11046"; a="8698166" X-IronPort-AV: E=Sophos;i="6.07,209,1708416000"; d="scan'208";a="8698166" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Apr 2024 04:03:43 -0700 X-CSE-ConnectionGUID: WpLsJvJ1SNiayBxDZVMrRw== X-CSE-MsgGUID: n7HqInwdROGiMLC6JgpESw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,209,1708416000"; d="scan'208";a="22653280" Received: from black.fi.intel.com ([10.237.72.28]) by fmviesa006.fm.intel.com with ESMTP; 17 Apr 2024 04:03:40 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 9232D134D; Wed, 17 Apr 2024 14:03:36 +0300 (EEST) 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 v3 5/9] spi: pxa2xx: Don't use "proxy" headers Date: Wed, 17 Apr 2024 13:54:32 +0300 Message-ID: <20240417110334.2671228-6-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1336.g36b5255a03ac In-Reply-To: <20240417110334.2671228-1-andriy.shevchenko@linux.intel.com> References: <20240417110334.2671228-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-20240417_040402_375373_9DC4EF7C X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. 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 Acked-by: Linus Walleij --- 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 82633682b581..cc0e54f8d2c3 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