From patchwork Tue Mar 26 18:08:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 13604840 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6AB9129A99; Tue, 26 Mar 2024 18:10:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711476646; cv=none; b=Kg49Q2Icl+YVuYqcUfnVHhvueeyoUn74XsNkKjnZdEkAciBTQeoslyskXywpuRm3XodW7md7k3n3viaZ8qbQD91fmUH7KHA3rOlEVAsuDgqdLGQ/k+4vV18NYDFiEYgMnyMSavVWffs01zL9m0pIkQAcfilbQiTqDBLgW1EOoys= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711476646; c=relaxed/simple; bh=j5gvoDGybQmWLbfFLzUmE6T0bPJCKLuCLg7N7OevHog=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bDxuDaiMNQrXJUk1IL8fGcBzfQBus6zBNvG0xXQ3p6/OF7zIU2JnkUrI68d4CsZNdo1zhHeERkuW4YxevxjrUeQc2DAp3DKxbMJd4puWxW3OgGbpW5CNtddA4KCR3o7/HMa6KfIDT6TZ50E+D3cTMLbU5qu3OChTbFm0afgHi4E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=V81tnPsn; arc=none smtp.client-ip=192.198.163.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="V81tnPsn" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711476645; x=1743012645; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=j5gvoDGybQmWLbfFLzUmE6T0bPJCKLuCLg7N7OevHog=; b=V81tnPsnWsBYKM5V6stk5ohMtCsKSmk/ze72ZMGZxkSd64xFiLFIuFe4 Awa/eQh1lEriIo/TuG5meuKmGprsRaSxdhvlqLuWECg4w5TdUveDmCbmI 84KHxmUGCBMXfts3bxn6uIRdfUjkZ5Z5Q++1dpPHyHGOhB1fgBeNwGzPf dNDYkdyHlUfknPAuYF9yDGGCrZ2droBQ7r4rXnYnPp4V0ng74rTNRp6FE ZWT5Bf+L3S49fIAZRgAdwiKSYzTlvueJc8YJy/2R0Iz9sIP4XxcbpJxRY LrKLjFeXjffyE0TMz4So0yiqNjzFLswtGfJl1WfTxXHwuN5V7iaz6n0B2 g==; X-CSE-ConnectionGUID: rvZaIYPPRp2SbnpFsnBjBQ== X-CSE-MsgGUID: TFJ+b62nQgeOOLQKd8rPHg== X-IronPort-AV: E=McAfee;i="6600,9927,11025"; a="10325726" X-IronPort-AV: E=Sophos;i="6.07,156,1708416000"; d="scan'208";a="10325726" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2024 11:10:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11025"; a="937072944" X-IronPort-AV: E=Sophos;i="6.07,156,1708416000"; d="scan'208";a="937072944" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 26 Mar 2024 11:10:39 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 49E4EF06; Tue, 26 Mar 2024 20:10:35 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , Mark Brown , 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 v1 10/10] spi: pxa2xx: Don't use "proxy" headers Date: Tue, 26 Mar 2024 20:08:00 +0200 Message-ID: <20240326181027.1418989-11-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20240326181027.1418989-1-andriy.shevchenko@linux.intel.com> References: <20240326181027.1418989-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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