Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp899227pxk; Fri, 25 Sep 2020 00:17:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyatcKInacnbkhjZshS8wMwmFSVmWzwvbu6YwsSCJvxVtuZt9M0lM30LSqf3Q22dLDmgIU7 X-Received: by 2002:aa7:dcd3:: with SMTP id w19mr2539314edu.18.1601018247490; Fri, 25 Sep 2020 00:17:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601018247; cv=none; d=google.com; s=arc-20160816; b=x1jVI1qKXXLUofYNXRs9ZNZ7LHvhjNBWf66PA6dfUq1h+F4pHt29BJ6dmXFGSN8YTA KyhsTEDNnnx10yq9AGgvU8mzaxD39dYoHqILEWit5M/PLpIOFZBuybu0AjGhlbExgI9o 10LY9No2xy6O7F3VMJXnjxikSYi85O52wNrw4y/X+0GCTMh7Dg8aZzow/v7cvtzbisLK D1U1b+LZK30Pqcfk1oVTt3w+5arl/uUBLD5jo9LworesLHyev+QCbSJCkPAzf7OZk5ea HR5uQ7gcZGz5dgRjmKQc2oTvWweTn5GdQGBn1DIA4xEPp/V28/xxK9pvT+jcdb8saE3G 5hTw== 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=KWjUoPkI9lMQMfmSKIa2OxHHOXEqzx9gcAM+ajPMu5M=; b=AA+oIPNJy+A1Ao5gtbPgzGyO5Vro6tJZDc389KvJlsfiGiW5PYWAG26YDU1N1Zif+k UUgVKgcK79RPXYZqxyorb/i/IOdMGSP4VvUSsxRi/zMuIE2ZVvGseA1VZKEvk3fYzGXz rJbAGAw/2WSVKu4qstcMQtiYyOKWwsAeh8HKZzpppGhUFTBFHYlTt+l6ajn2gJdytJpT CPu7MGiVpTVwksBheIZ54zoTG0QU+PfDy5LMC5zZOmlQt0njZgfbZTWhdpmD42DCD7Hu tlbQWl4MJqLpSLpmDYq8NAX19R1BFdgU7tyk5iB/+9JnYj9Cy1E7rWaPIsv4a4SxK0YD HqVA== 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 q23si1228972ejd.363.2020.09.25.00.17.04; Fri, 25 Sep 2020 00:17:27 -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 S1727193AbgIYHNy (ORCPT + 99 others); Fri, 25 Sep 2020 03:13:54 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:34706 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727067AbgIYHNx (ORCPT ); Fri, 25 Sep 2020 03:13:53 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 733174BB6EDF8805E2FF; Fri, 25 Sep 2020 15:13:42 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Fri, 25 Sep 2020 15:13:36 +0800 From: Tian Tao To: , , , , , , , , CC: Subject: [PATCH v2] drm/hisilicon: Deleted the drm_device declaration Date: Fri, 25 Sep 2020 15:11:08 +0800 Message-ID: <1601017868-44516-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 includes drm/drm_device.h and struct drm_device is already defined in this file, so there is no need to define struct drm_device in hibmc_drm_drv.h. v2: fixed spelling errors in commit message. Signed-off-by: Tian Tao Acked-by: Thomas Zimmermann --- 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