Message ID | 20240207120431.2766269-3-tudor.ambarus@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-56440-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp2177229dyb; Wed, 7 Feb 2024 04:05:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IEiu68w5t5xz8ISI5E3MHq8U3hsa2M16gAIF85qHOu/9AcZklpdkYGIaWk0EQNyys050+nx X-Received: by 2002:a05:620a:4413:b0:785:8dbb:89ee with SMTP id v19-20020a05620a441300b007858dbb89eemr5592305qkp.48.1707307548210; Wed, 07 Feb 2024 04:05:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707307548; cv=pass; d=google.com; s=arc-20160816; b=VZ3S9t14qpcvTOISpJ/GVxVg/oGJ8PfI5Ky7hrTbT9PepggjcEitgEIjbYdyOM0lgL uDk9HEKRAvbN7iuKZjAk7XxO8u39xSWEoTetBFVy/Pj5u8C2QPp4BDt+GDDr9+x7IURG LNU1nz5AFpQAyXbaSj9PNMRHorY4UafOKU6iYVRlWsd2HHOwP19biTqq3rYFIWGp9pdb 7Rqu3Td0kZbJbfosEsTv22H1TwpUkxTgo+zydCkUJzkuFBZ+EvR2KugPiEfJpGAkKMWe VMLw92kJeBTdR6dHcPZ2UmSFqFx86niyEI5136vOldEs95EqpolMBjseWBjCQ6Usq6T0 FhWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=souH4fszIHhl+7lfvTkAEtznZt5fFUz7qZaAcpHpDRU=; fh=sWKsZd001tdkkni6b0eWjqjB4qOemOUHEjZ6UJ4EVqY=; b=uGCt6KE+vdzSPjHDzD3/1Nx0vP6rW25fSc/ru091gdtFIS70WJyDYf+EV2STcT/aeM lgKgKitXCYadkGXMU3RCJU+9IeIS767B0C6zLC0zn1pxlcB1fAjlOickTWPs4BB2UL/w iG3kjGW5nxu27mZl8xF5prROOkIkGNXSVekVzkmKhMgZy6w6z2YWLnli0xlVbOdSGsbh OcXs1DJmj+vLqtX6OlbbO4cHw/9rbdlaUXonZYh7m4ZSWpTLC38SzgNSBBaOQfT+b9ky UEb4txrXsKamA8BqScQRTHfyV4NZBx4CT4w6XCT9/W/2jqyChzSsgZNNQmwwai7GpLWI EMCA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=my4M3EB0; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-56440-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56440-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCX5gV5XboDTtgQP8/hC+tYakxEiDq2w2mg+9szxrOZC1YPjD1QozB0JjBf7nP6SDfGVbMXt8Ke7tEQxXGjpqZyD5bR5cw== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m17-20020a05620a291100b00785530e8286si973062qkp.642.2024.02.07.04.05.48 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 04:05:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56440-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=my4M3EB0; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-56440-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56440-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 05DC41C208BB for <ouuuleilei@gmail.com>; Wed, 7 Feb 2024 12:05:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 478605A4CB; Wed, 7 Feb 2024 12:04:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="my4M3EB0" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61D515A0F0 for <linux-kernel@vger.kernel.org>; Wed, 7 Feb 2024 12:04:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707307483; cv=none; b=sIcdgrPy8K7X2ONc5Cir9y9MnVd2FijgVJsEbVnhKFoHQ4mR46FScNwHbaFHF8Z+mBls9aHVta0GoozVJcOzcS3sVEwSqrc1e7uBw7mcZbuN6XNX0B9FYojGcobN5pNsA9weyu9lJoPZuJkuVewMwzfZ1Il0Spvr+OWFSxJn8u4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707307483; c=relaxed/simple; bh=JzXPRHVlj4kMqFgLLajSwxxBue7T3bsxJTGhEF3WWDY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hI5VOR1r3NXfHkXCswiUNLJyOQnysK0ZdMzgJSGjcEviIsPq1yl8oz9+8xOYNnCCh2G2zN9jbvxBUrk1ptaGtt+ckylmq17vvNB8/VMOJ77+nYl4mWfTpuf5LosB8WrXQsx9whBRBr4KmV/0PSPJwmL19C3s+F/YhxomOH9g3cE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=my4M3EB0; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-33b4e06c239so421030f8f.0 for <linux-kernel@vger.kernel.org>; Wed, 07 Feb 2024 04:04:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707307478; x=1707912278; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=souH4fszIHhl+7lfvTkAEtznZt5fFUz7qZaAcpHpDRU=; b=my4M3EB0DSPRbD5A6Qg5j6EX56/wypw6EV4gTa2HAVAg0g5ZMswgU03WY3M0y802O0 AfFk7PzqIMB7+WBiSU1ykixSzEXHj5/SNszWBR73kdxqhe1634nKKmewNBTj1Lr8sniQ rZuq8WMAGlYoYpk+A1GcX4bl1Q+XOXovqHcn/d/1qnNy772DTtRg6/uxLa0m8pBjCZVa +jF6AOkIpZdbmAbxUB8XltIcGYXnQVPrD/PAICZGG9uQWRM+StOHKcXDmVSRW4Mxn7CL awZH75b/uFy8WJC/E6xrmWHpklmWbVGbaWUXNE0EyzVeNjqTMod6kVCOMWKT4+oubL8e hZFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707307478; x=1707912278; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=souH4fszIHhl+7lfvTkAEtznZt5fFUz7qZaAcpHpDRU=; b=ZWrF1WrGQGaQVEZeVLkOi6hC8dWWIUzGo6pf2HFCgUF7+8LdcLvgJHwmGTguVZ4+PV 1q3Al66VReyEC67g2IkRUfc5KQlEyDl/KxCQqX4EIvNTLaLyhazLghC3VMcF1lSk5sn7 n3416SRyxsgHQOgnQfgSmjQGEboYpt4B2L8mMVuWjqn8YWqL3wfyPPthMCbNANjt0a5W B8TNgiUJE8wx4aLyZaz5lI/6/I9JcWahEgUyduI5vsBZSNonfOfvevITMRtmd18l6lT6 Fe6kkWjS9RBzRI0tk2pLy71oSMZvVVzcJceByouRlTlONCFxHrkal7gOkntIDnTXMwOE ZPCQ== X-Gm-Message-State: AOJu0YzQlJXHW14wUKfjNg8dfqNbTFOG8rfWZpgIrMLuIPZ+fXG8Z9qC wndpxi7EAN9RXLtN1hqB1fTdYiWyyTYB4pmpxJeE8HvNGhmXPKEBZVs6Vz8XN/M= X-Received: by 2002:adf:e643:0:b0:33b:1c1e:3e5f with SMTP id b3-20020adfe643000000b0033b1c1e3e5fmr3850519wrn.16.1707307478768; Wed, 07 Feb 2024 04:04:38 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVEFqJKyWijUEzhbJRb74h2KdtPJux/+fuKK07LYNtY+mMmKVgLvpxl1mOnsS+0GP/LQ6RGT/rP/2ouqOYd8BDJu+w22E1Iit2rIBbvfJQ/RhXAgbVXTjlPGykU72wy5jfmLjQ1sohfh8T+OIM9iN5l6MugccbbO3fQdIi7WFk0E0wNy7U9clh3jFVG+iXZUqPeOjQxa/wKhx0pcf7INIk83Nq69iaw3Cr9FVjoHooq8vAYNs+uv0vPZZMPWOC/WGoDqL7dmagp4DgDvgaT0aP5hSUJ4tC377Tsj6vNpXwXoXCb1o+zA8wxYpZUgLV5R0fpqEQmU130/XHBiBhJd/kLsCjNRQ9InQJPvaidJKoyjMuh8ALsi2l7Q2008zppRfI8M8UQZlL4uKr37bM2e8uAEPL6zGy54VcOwutS0LlvrHGGS8XJ2A1pK9QwZmRtjFZdQZ+lorY/jFqFYQboJrsWRowKETmuzx14/k3mnPrHYyvz7QYTA3XvwL1AQQ== Received: from ta2.c.googlers.com.com (105.168.195.35.bc.googleusercontent.com. [35.195.168.105]) by smtp.gmail.com with ESMTPSA id d15-20020a5d644f000000b0033b44a349e1sm1349967wrw.38.2024.02.07.04.04.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 04:04:37 -0800 (PST) From: Tudor Ambarus <tudor.ambarus@linaro.org> To: broonie@kernel.org, andi.shyti@kernel.org, semen.protsenko@linaro.org Cc: krzysztof.kozlowski@linaro.org, alim.akhtar@samsung.com, linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, andre.draszik@linaro.org, peter.griffin@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus <tudor.ambarus@linaro.org> Subject: [PATCH v5 02/17] spi: s3c64xx: explicitly include <linux/io.h> Date: Wed, 7 Feb 2024 12:04:16 +0000 Message-ID: <20240207120431.2766269-3-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.687.g38aa6559b0-goog In-Reply-To: <20240207120431.2766269-1-tudor.ambarus@linaro.org> References: <20240207120431.2766269-1-tudor.ambarus@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790241720052883855 X-GMAIL-MSGID: 1790241720052883855 |
Series |
spi: s3c64xx: straightforward cleanup
|
|
Commit Message
Tudor Ambarus
Feb. 7, 2024, 12:04 p.m. UTC
The driver uses readl() but does not include <linux/io.h>. It is good practice to directly include all headers used, it avoids implicit dependencies and spurious breakage if someone rearranges headers and causes the implicit include to vanish. Include the missing header. Reviewed-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> --- drivers/spi/spi-s3c64xx.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 1455cbd2fa8d..9882eb0f4bea 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -9,6 +9,7 @@ #include <linux/dmaengine.h> #include <linux/init.h> #include <linux/interrupt.h> +#include <linux/io.h> #include <linux/module.h> #include <linux/of.h> #include <linux/platform_data/spi-s3c64xx.h>