Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp887955pxk; Thu, 24 Sep 2020 23:54:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIVvVgPYFbhsZpFoouL/jKtDa2xAnXsPqc6I4ER/CqX/OiFD77GSxcjnRw1RoMpPZhAgiS X-Received: by 2002:a17:907:2506:: with SMTP id y6mr1224151ejl.265.1601016886873; Thu, 24 Sep 2020 23:54:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601016886; cv=none; d=google.com; s=arc-20160816; b=GaQkE0jX9fJoZqKXYSwyue2QvPeecC8Wq+LnxaSxFDIPilGOM0NFh3UjQz9iPwElI4 nujw5WtKcOYW1i+X3bbv2At+71Zh9iQDqCJj4qYbK+tPapsLHK0h5uzEOPhsryQGBRNx 6RKkUmwuM4La+usSLIq+tGlm+9siBq0y2hg1pBdXbBTGZJzGLwjiY+1ekxMt+E1+ECO8 8z/soPFuh4cbdDVZ+9PaI9lca0e+ZGbquGj1jGDpxEmBxPUsFEELENaa8LNYrAh6n+d+ kOQArcFYkWg+smCfy7l2zO9jWuyP1HC6Y+DlJcjWGN7pxcp6MXEL8QSv+TqDgffuoqfR 6S0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=KZzGAWHipMSOD6jBCk6ZuIVVV/1enHcq1np0aBP4z9s=; b=oYexoPJKOgLRPHyP8+lrDnBjplMsSjWUM3CVxAzfahyRyehkd+YiIDvZQhOb2WqAh9 erUOc0p+umFORw5vDz3gObMIboxP0Hp3TKL4ncpH0k2YjdeNN6T6C2jdO/A65dR/Jfe4 wpl2t8LDeADGGHCvBfvtjrpj3oeMpSGupzNKZ7YkIdNYVec5T1/yiLxV3HQryt260v6s QLSLFnFTxADK6DSm9RRjfaLmgHCli1xYHAb60Y2wroQXYdP9b/qgjmoekjxDulOOmup8 9lA2Qg93bOCwCJhxmduUn4J4nZ42YlT/1f+q/eVao6UIYIFyfSR6FQ3tMc28GXW7ILE/ dKFw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x26si1175321edi.79.2020.09.24.23.54.23; Thu, 24 Sep 2020 23:54:46 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727180AbgIYGwU (ORCPT + 99 others); Fri, 25 Sep 2020 02:52:20 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:14234 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726983AbgIYGwT (ORCPT ); Fri, 25 Sep 2020 02:52:19 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 6C26F6F39300D69BB47A; Fri, 25 Sep 2020 14:52:15 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Fri, 25 Sep 2020 14:52:08 +0800 From: Tian Tao To: , , , , , , , , CC: Subject: [PATCH] drm/hisilicon: Deleted the drm_device declaration Date: Fri, 25 Sep 2020 14:49:40 +0800 Message-ID: <1601016580-5937-1-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org drm_framebuffer.h contains drm/drm_device.h and struct drm_device is already declared in this file, so there is no need to declare struct drm_device in hibm_drm_drv.h. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h index 87d2aad..6a63502 100644 --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h @@ -22,8 +22,6 @@ #include #include -struct drm_device; - struct hibmc_connector { struct drm_connector base; -- 2.7.4