From patchwork Fri Dec 15 08:37:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Jinchao X-Patchwork-Id: 179102 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp9125935dys; Fri, 15 Dec 2023 00:37:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGHFZjiQ3aMihW23bNbPvtN74uHAvsJFxufa8p6psYY0XlTIdRxUxLBbd0ljPDNM/S9NJIq X-Received: by 2002:a17:907:9057:b0:a1f:786c:1b6a with SMTP id az23-20020a170907905700b00a1f786c1b6amr5037671ejc.52.1702629471059; Fri, 15 Dec 2023 00:37:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702629471; cv=none; d=google.com; s=arc-20160816; b=sl9f5hcpE5erq5FGo5WNNQBIH6BiauLE6ZkNj62eUPF5BkZrlRIahpkifJ5ohGsPUK tGdtrFqnDW+xLtap6IYnR65FS5/chWkT4CbrrXJIFrwT+JdnwUPzrif/hJyqv8/9BNgs LO01tznYb8Re+qkeq6qwTQcvxlQWRjr/FhcU9stj5AbYEmKG2/AYztFKmxN3msKQpMb1 /HA1AEoFXP6ErqqdNs3m2sXwFkAPKkfqUHvqm0FNhHY8nKYuQps9DEnnTZ0NOqerrQB7 wcWjE3s3ApWOykZ0HC46aBwAU3/Do+obPSb9LXB0iNeoxCD2Enuo8SfoJ7MUpem1KWbR kymA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date; bh=aHTlcebBO8wna9Tz3c8ABnznI3mhoWKqlWQu8rlqOOA=; fh=kSsVBC0iTCxUkaKQNnUxWesC2KCKIEpQPdJ3FnFGCIQ=; b=ZIcsSzn0qcgRb6zs09KeJq+r9KMt4qwtFPFY3p+y7aJUZcSu41lNU6oWitp4LwkPXN /1FO4CFuVF9QnruObqPlz3CisTSWFHmobgAVSuXedTw7tx9mTEUZqNd+QVbSXW5ePkh8 VsWuOmOHb2O6f1F9uzXE36buGSVNDH1LoroyfOjc2gSS3QGrqkgwFtSShKu1Kp6gofRc +nA0ok33m2/OKsdzq0kb+vDQ5Rp/awnKtvELRBznuL4ch3XlMv1hBywQ8Yw1QsR5cVvw wdQXwf3P+MDKvHKz11EBOBeWB2J7z4TpccYEru3jfp1aeeH9veo91U0oeDwCgPq+RU3K w5lQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-626-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-626-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bw16-20020a170906c1d000b00a1d83dbee15si7182940ejb.314.2023.12.15.00.37.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 00:37:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-626-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-626-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-626-ouuuleilei=gmail.com@vger.kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id AD2DA1F229FA for ; Fri, 15 Dec 2023 08:37:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B76E217997; Fri, 15 Dec 2023 08:37:36 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from wxsgout04.xfusion.com (wxsgout04.xfusion.com [36.139.87.180]) (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 8331B171B4 for ; Fri, 15 Dec 2023 08:37:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=xfusion.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xfusion.com Received: from wuxshcsitd00600.xfusion.com (unknown [10.32.133.213]) by wxsgout04.xfusion.com (SkyGuard) with ESMTPS id 4Ss2Yz6k12zB2kVJ for ; Fri, 15 Dec 2023 16:33:59 +0800 (CST) Received: from localhost (10.82.147.3) by wuxshcsitd00600.xfusion.com (10.32.133.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 15 Dec 2023 16:37:29 +0800 Date: Fri, 15 Dec 2023 16:37:29 +0800 From: Wang Jinchao To: CC: , Subject: [PATCH] bus: bt1-apb: remove duplicated including clk.h Message-ID: <202312151637+0800-wangjinchao@xfusion.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-ClientProxiedBy: wuxshcsitd00602.xfusion.com (10.32.132.250) To wuxshcsitd00600.xfusion.com (10.32.133.213) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785336400099095336 X-GMAIL-MSGID: 1785336400099095336 remove second #include Signed-off-by: Wang Jinchao --- drivers/bus/bt1-apb.c | 1 - tools/include/uapi/drm/drm.h | 8 +------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/bus/bt1-apb.c b/drivers/bus/bt1-apb.c index e97c1d1c7578..595fb22b73e0 100644 --- a/drivers/bus/bt1-apb.c +++ b/drivers/bus/bt1-apb.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #define APB_EHB_ISR 0x00 diff --git a/tools/include/uapi/drm/drm.h b/tools/include/uapi/drm/drm.h index de723566c5ae..c7f5a21e47a2 100644 --- a/tools/include/uapi/drm/drm.h +++ b/tools/include/uapi/drm/drm.h @@ -35,13 +35,7 @@ #ifndef _DRM_H_ #define _DRM_H_ -#if defined(__KERNEL__) - -#include -#include -typedef unsigned int drm_handle_t; - -#elif defined(__linux__) +#if defined(__KERNEL__) || defined(__linux__) #include #include