Message ID | 20240214145439.62624-1-ilpo.jarvinen@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-65368-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp1325146dyb; Wed, 14 Feb 2024 08:15:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUEsu50wIxi4jNM6Jf7nI99QHttGP7sNAbiaGT8Szek3r4F+IAmvriGKXH4LC6b1fCuosQSJxqOIA/visX5YMHEn1kVhA== X-Google-Smtp-Source: AGHT+IFAZVxMqgKhNOXo3ly1qlEys3GRZ3Kg5lOvXi6mX2HDwYG5UuDRPRr1pFzZoYeYM29ZXUMQ X-Received: by 2002:a05:6a21:9212:b0:19c:a484:290e with SMTP id tl18-20020a056a21921200b0019ca484290emr3033636pzb.2.1707927334634; Wed, 14 Feb 2024 08:15:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707927334; cv=pass; d=google.com; s=arc-20160816; b=XKGWwBy04gtijfL0USxwfmcaKtXYkL0ko+Iv2ZLZiw6SFkG/uNUpumKKmNZS8cd5wg Vu2c0aOh6BJYL2yubfZglEIhys1uorbkwlY3SoFU9TRmWQ7Mpqjah7WABo8ruc3nHCCE UBtQwn8zPFdKBeBbij+H0o2eivuc3WvHXcPWXXkQVjyiValRguRQSbo1/l8T49Myc4wI trAF4V3bzhU3oC3/4ZwIDgunMHTcl6P0l1caDgYQxUelq7Q/Z68g7WFnDiT6GorTNAt9 N6tVWoO9+C2CShusScBORvgDQ51wRROYggqf66TcyU+udtHJoXrWRRvfOLb20S4UWz+8 mXkQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=Rk6+YH1qwMRirXnV4CdmOAtagq4RcGcNBwYnillSuFM=; fh=POPGdcTI+8p0HuKNKdD0sYyQfHH1IfuDjrJUgdf9p7Y=; b=hRZxA0hSNAMF3Q9KvGmkSClU0URotPEk8a+bnmN5e3A69KNNGus4fpWZS48nod6ptJ ajPxcCQlxbVFqz3GHdbP86/cEIh0vNNbvQb9iq+nbOolmdGFhJ7/MAQCGgGbVMfu6B+Y d74sKTVWufgoAeKsZOObnzJi+n0LHXVv9hyfV+gPKSBcbJ42l80eu1T7JePHqH+vl/er 8oZmjgLy6aVbdw4buW0yTRiTh5X9E9U/SKm87Q4AcWWW2wPrS47hsIQyYhWnOURcKowq zei7Ht6I/y+s/qwGav6zuiYNVkBKPFeCE0ZJCLs1NpRllZ+pT5WX4NUWvj2zG0MGpDqm ZlbA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FBoKTQ0F; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-65368-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65368-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCVs1zmGuvbLH1Pq6XUgL4El632+Y6L7iRenHPVcjb0taYLMQgAcMnhIE2XPG21acna+Y/YrAKeKZdmtmgsu4aVeilKFXg== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q7-20020a056a00088700b006e03efbcb47si8962888pfj.347.2024.02.14.08.15.34 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 08:15:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65368-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FBoKTQ0F; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-65368-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65368-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 368D7283792 for <ouuuleilei@gmail.com>; Wed, 14 Feb 2024 14:55:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CACE5B696; Wed, 14 Feb 2024 14:55:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="FBoKTQ0F" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 835E554FAD; Wed, 14 Feb 2024 14:55:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707922502; cv=none; b=M2sfTzY08UcfliR1vVvA0XFF/pbmXplMyETko+l40V49Z0+WRkVk2qhpOcuQi21qSEDZVvibjeLMnPdXqTlpgjjsduT3uRIysR78myAxrPumzcbATaZPxKH4Pi5tqfaefOeyXvySca2o+nd3fWSOGx5IM2BLPIDEFLhk20bqLQA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707922502; c=relaxed/simple; bh=lzj2XSAw769/WZ86KuTWetUX/lYELdru1gi0Xpeqrsg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=mpmLamnwcysLzL3XsxeRDf7p+BoMf4BYGapaZuSd+JgCtvaayS1hv1hoB3LaZkfh8ITswRnwggpZyNeHDhEv+b0lGRp6G65T6heKBX44rnF4ka4CZKPPENpjT1Kxd8lq1aQAVcOv33HaySDC/zzbCwn2vQbwDoMK14mYtTszsBU= 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=FBoKTQ0F; arc=none smtp.client-ip=192.198.163.8 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707922501; x=1739458501; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=lzj2XSAw769/WZ86KuTWetUX/lYELdru1gi0Xpeqrsg=; b=FBoKTQ0FpF0LBz8DzUz/IUN5H1CRBxTMDbXOCLpCXjFc/0CBRX7lLVJm JZJHVCs7TxCPR2vs8Yox7+h0X6S0QAyyc3xSpQXghUjDniIKU2KFu9oGs TOLmN8NtVSaO5oL9caakkGBWfBI7fVMZYA1bQudSqj6dWCg5sSdnyHMEZ IOmJE7QzOkorzIqA7XVdwCIx+3Yl2Yx1XMhCq5eTi5pZQ7+KC67bSGME+ 2VxJAsE3FVnfJRRQ2MHMp3B1ZAEY8OWQcHU8m+l0BMR3d5wNodmp1DmrE 4RqGuyy1WMddNmq+X8KBnMK/OzEda30j9gGrGr8C+Btti63C+If9/ZvmU w==; X-IronPort-AV: E=McAfee;i="6600,9927,10982"; a="19480235" X-IronPort-AV: E=Sophos;i="6.06,159,1705392000"; d="scan'208";a="19480235" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2024 06:55:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,159,1705392000"; d="scan'208";a="3108826" Received: from ijarvine-desk1.ger.corp.intel.com (HELO localhost) ([10.246.33.229]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2024 06:54:57 -0800 From: =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org>, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> Subject: [PATCH 1/1] tty: Don't include tty_buffer.h tty.h Date: Wed, 14 Feb 2024 16:54:39 +0200 Message-Id: <20240214145439.62624-1-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.39.2 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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790891612811994300 X-GMAIL-MSGID: 1790891612811994300 |
Series |
[1/1] tty: Don't include tty_buffer.h tty.h
|
|
Commit Message
Ilpo Järvinen
Feb. 14, 2024, 2:54 p.m. UTC
There's no need to include linux/tty_buffer.h in linux/tty.h.
Move the include into tty_buffer.c that is actually using it.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
---
drivers/tty/tty_buffer.c | 1 +
include/linux/tty.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
Comments
On Wed, 14 Feb 2024, Ilpo Järvinen wrote: Gah, I seem to have botched the shortlog while I killed linux/ prefixes from it. I'll send an update tomorrow.
diff --git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c index f8883afbeeba..79f0ff94ce00 100644 --- a/drivers/tty/tty_buffer.c +++ b/drivers/tty/tty_buffer.c @@ -7,6 +7,7 @@ #include <linux/errno.h> #include <linux/minmax.h> #include <linux/tty.h> +#include <linux/tty_buffer.h> #include <linux/tty_driver.h> #include <linux/tty_flip.h> #include <linux/timer.h> diff --git a/include/linux/tty.h b/include/linux/tty.h index 8c76fd97d4ad..2b2e6f0a54d6 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -6,7 +6,6 @@ #include <linux/major.h> #include <linux/termios.h> #include <linux/workqueue.h> -#include <linux/tty_buffer.h> #include <linux/tty_driver.h> #include <linux/tty_ldisc.h> #include <linux/tty_port.h>