Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp285312pxf; Thu, 25 Mar 2021 04:12:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4J0hIm6RdHB/1smvMv7znlF4zXKT/M7vin+8jd7C8XGRDMX6J+i5AErjtnIZ2ZGpxNf3j X-Received: by 2002:aa7:c6d2:: with SMTP id b18mr8373726eds.183.1616670730350; Thu, 25 Mar 2021 04:12:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616670730; cv=none; d=google.com; s=arc-20160816; b=uKpQsik1ilH1Z344DOpOiMiCg0LA2+FUfap+SI12W1DHogY6XJpC2XnR9tbY57Mgiy xCJ1tp66cVfUVtL7tYYH4/nY+Tb6ttTBZCBVMAayPhxr6cKNUXkVW/lUw4xsPaQJBwzV maNlh+UQoUXKV3wnBxOscQufQwJHAg7eFGYWX05R9t5ir5520hgdunHgYVYOneJ3owqp fMd1LJqxAwkvvB62cSef9/uiK0x4JPZvbZq5Tn5yfeGeLOV9Gi/GQ26CSdEBJYu9lpG0 3LjcjRL+X2RPfHHez47JJ2FRO43xI0QnVnTdbmOhUOvCxAoByU7smsvBO5vm+WKJbdvk 6doQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=WQBzoTU4MCr24picyrt0a1icUDSduQECdVd2HGpCvVI=; b=sOSL718a3R4kSQAPYwkvYnc4XoNnh+C+bYG1h/REIOi4Mi/cW007dFWplf94hJMfZL Nz/Cg6wU5ZJnmnhFOAkUzpttjcuAktpBKqvHUu8lsh7mYEzkiGMSRicgG7wgTGZ4mJun 3JuRzd83OQvfGjc1CpwDxsut3sELbJVdDLH7OXWojaM01KycS9verzvDqw+AIRm6AYFU DGNP5rpQ/OIjHH5gCWimzhCzP/p97KxjLjt0hN2FCz9sMqLrSkiPI/UXU4Ef8qP1bs90 rqWAZWaxNSknrn58FJBG4rDAMK+FA/f6gvCD5kVJwI/L+pP+kPep3/CBb+szsNpuUc1P gmzw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s17si4142820edx.88.2021.03.25.04.11.47; Thu, 25 Mar 2021 04:12:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229836AbhCYLKu (ORCPT + 99 others); Thu, 25 Mar 2021 07:10:50 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:47062 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229989AbhCYLKj (ORCPT ); Thu, 25 Mar 2021 07:10:39 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id C58D29803E4; Thu, 25 Mar 2021 19:10:33 +0800 (CST) From: Wan Jiabing To: Tomi Valkeinen , David Airlie , Daniel Vetter , Sebastian Reichel , Laurent Pinchart , Wan Jiabing , Jyri Sarha , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net Subject: [PATCH] [v2] drivers: gpu: drm: Remove duplicate declaration Date: Thu, 25 Mar 2021 19:10:24 +0800 Message-Id: <20210325111028.864628-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZTx9MTx8eSR0aTB4fVkpNSk1NTEtNSE9LQ05VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Pio6PCo*Aj8VKD4NKw9CCigR TQ8KCjdVSlVKTUpNTUxLTUhPT0NNVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFJSEhPNwY+ X-HM-Tid: 0a7869143022d992kuwsc58d29803e4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct dss_device has been declared. Remove the duplicate. And sort these forward declarations alphabetically. Signed-off-by: Wan Jiabing --- Changelog: v2: - Sort forward declarations alphabetically. --- drivers/gpu/drm/omapdrm/dss/omapdss.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h index a40abeafd2e9..040d5a3e33d6 100644 --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h @@ -48,16 +48,15 @@ #define DISPC_IRQ_ACBIAS_COUNT_STAT3 (1 << 29) #define DISPC_IRQ_FRAMEDONE3 (1 << 30) -struct dss_device; -struct omap_drm_private; -struct omap_dss_device; struct dispc_device; +struct drm_connector; struct dss_device; struct dss_lcd_mgr_config; +struct hdmi_avi_infoframe; +struct omap_drm_private; +struct omap_dss_device; struct snd_aes_iec958; struct snd_cea_861_aud_if; -struct hdmi_avi_infoframe; -struct drm_connector; enum omap_display_type { OMAP_DISPLAY_TYPE_NONE = 0, -- 2.25.1