From patchwork Wed Apr 22 14:11:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1275105 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 496j9X0MZ0z9sSm; Thu, 23 Apr 2020 00:14:24 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1jRG8n-0003Hb-GJ; Wed, 22 Apr 2020 14:14:17 +0000 Received: from mail-pf1-f174.google.com ([209.85.210.174]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jRG88-0002m5-Vl for kernel-team@lists.ubuntu.com; Wed, 22 Apr 2020 14:13:37 +0000 Received: by mail-pf1-f174.google.com with SMTP id x3so1140289pfp.7 for ; Wed, 22 Apr 2020 07:13:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oTZyyFE+hOawHg3w0Z2Hrh7UPasFU/tAbcK746DdBCI=; b=kshytrht5WJBSjVHJGG7g4kivAcnN3INYulhIyWog+IrP4gokvzHEESbbJsPJl/6PP 3ljHmjsfT8aENQVNtnwkcqcdmxOy0jyIw+O85YBKVaqfUIWjFPFznDoXJnRPudu7jWO3 9o956SpTLWWHGHi+k+YL2aDv4MEnQhpn9jIrMFVc+6vllJEtB/TDKiEn2anFtW8D6pAv cm7VUD/EXQxJDPprndPRNYHgMWVtn3dsyzNLzgBUhH/1wRPEWKNDosJNZGy3EGfY7U67 eQZqC8ke7R5zA1SsSUiRKZA7cqCmSHL3jMUDKeUJ9e5t8VmEVHuK5T9JOFIsyi6r8zUX RYmQ== X-Gm-Message-State: AGi0Pua2SIq7EHZQCPdKGyr2XC0GLVmPvNDAMwzpkd3DmBm8qI5p3Jm3 /FJeJXRP3cKPWgjaowWFaFVFITtpo9s= X-Google-Smtp-Source: APiQypLUfHyCaHDEkbRKdSQRoNSTbn9ncTU9uoZeaigBaiykpwJRL/YdwBcbqZdaC/LlHKWfIjAqLQ== X-Received: by 2002:a63:1f61:: with SMTP id q33mr11839222pgm.18.1587564813497; Wed, 22 Apr 2020 07:13:33 -0700 (PDT) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id y186sm2406091pfy.66.2020.04.22.07.13.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Apr 2020 07:13:32 -0700 (PDT) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [SRU][E][PATCH 29/52] drm/i915: fix include order in intel_tc.* Date: Wed, 22 Apr 2020 22:11:52 +0800 Message-Id: <20200422141215.1548544-30-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200422141215.1548544-1-vicamo.yang@canonical.com> References: <20200422141215.1548544-1-vicamo.yang@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Lucas De Marchi BugLink: https://bugs.launchpad.net/bugs/1868936 Separate local includes with a blank line and sort the groups alphabetically. v2: don't make intel_tc.h be the first include v3: don't make local includes be included first Signed-off-by: Lucas De Marchi Reviewed-by: Imre Deak Link: https://patchwork.freedesktop.org/patch/msgid/20190709155403.29370-1-lucas.demarchi@intel.com (cherry picked from commit c99fd7b3908e287ccd20be4f9eefe597c7d354fd) Signed-off-by: You-Sheng Yang --- drivers/gpu/drm/i915/display/intel_tc.c | 2 +- drivers/gpu/drm/i915/display/intel_tc.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_tc.c b/drivers/gpu/drm/i915/display/intel_tc.c index 8a1a405d37e2..cdbc6ea12ead 100644 --- a/drivers/gpu/drm/i915/display/intel_tc.c +++ b/drivers/gpu/drm/i915/display/intel_tc.c @@ -3,9 +3,9 @@ * Copyright © 2019 Intel Corporation */ +#include "i915_drv.h" #include "intel_display.h" #include "intel_dp_mst.h" -#include "i915_drv.h" #include "intel_tc.h" static const char *tc_port_mode_name(enum tc_port_mode mode) diff --git a/drivers/gpu/drm/i915/display/intel_tc.h b/drivers/gpu/drm/i915/display/intel_tc.h index 0d8411d4a91d..706c5bc050a5 100644 --- a/drivers/gpu/drm/i915/display/intel_tc.h +++ b/drivers/gpu/drm/i915/display/intel_tc.h @@ -6,8 +6,9 @@ #ifndef __INTEL_TC_H__ #define __INTEL_TC_H__ -#include #include +#include + #include "intel_drv.h" bool intel_tc_port_connected(struct intel_digital_port *dig_port);