Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3698pxu; Thu, 3 Dec 2020 17:27:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzDaytqXbDc0X3IyqS/Qhji6ibGxxDdcHyVabpB5RkYwG8BynBDD/vGrFvSdY/Z8IvjGuX X-Received: by 2002:a50:f98b:: with SMTP id q11mr5405899edn.345.1607045269483; Thu, 03 Dec 2020 17:27:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607045269; cv=none; d=google.com; s=arc-20160816; b=dwl1t6sisuh0G01eMM65RynBHFIe8HfZwWWDwjJhwn3qUUAmi4VGxMT+8yM4Fec4Kd 74EG1X9xdQlb8zMCFYJpuiCcpIoGSyHctsjyzfKSJ5/XZcJMqwx4tWL/WF1GwNSfteUJ olssU7+blgBcVJkvG2r/19lRK32D6JeAQda55QBGvgPpt5tuHFVu8Krb45wtguzA3V51 c5cM4tpF91d+y1KbccXgc2Ihaef+U9/LDCYHnPsKSAienB+gHj/Cyl73kXxWYt2G53zY MrZGKN+gBZnVCrWcUNkEEf/Ci40QuXFw0sEEonGEG89Knxs6uMJF3FWA3JCY+QKX/cOd vb4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:to:from; bh=5NT41F9TeKjhdZS9A4QvKzmbOyn0zPsK4+A8CPoCK9I=; b=Rap7DBdQ5OWfumr7w3X9xOmhzPC/5iVKJU5ia3CirDTOlPzqRZrXKxvw1dWyF8cUkR yzJ3OMiXAQUCJrIdvrZzEwF9c9RrxdLObtdWkc3mJGPINP7QrZ7OgOQ3G+t4wnKk6TO1 ve+6A9x0gclu7YoBp6hgAjjhqAAu9vuiZRZEkB18etFCJsFWp6VS3m/3f4TueMvXxga9 dxdajjdmZnwvgWkJVzn2xJsAS2kYnF5SnZu6dOpxpf2VbRs6M3U2TyavWx9+qAYCCSF+ yNQ6EWfmNKeJp1hvmn/pA8Ru21U8QGfCiusEx19Yl/liV7W6GlWkWWWd7Px2maAUYEyC AVmQ== 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 b20si1981019edv.300.2020.12.03.17.27.27; Thu, 03 Dec 2020 17:27:49 -0800 (PST) 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 S2389591AbgLDBYh (ORCPT + 99 others); Thu, 3 Dec 2020 20:24:37 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:8637 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389549AbgLDBYf (ORCPT ); Thu, 3 Dec 2020 20:24:35 -0500 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4CnFLq519Xz15XBG; Fri, 4 Dec 2020 09:22:43 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Fri, 4 Dec 2020 09:23:06 +0800 From: Tian Tao To: , , , , , , , , Subject: [PATCH] drm/vc4: Deleted the drm_device declaration Date: Fri, 4 Dec 2020 09:23:15 +0800 Message-ID: <1607044999-47666-10-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1607044999-47666-1-git-send-email-tiantao6@hisilicon.com> References: <1607044999-47666-1-git-send-email-tiantao6@hisilicon.com> 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_modeset_lock.h already declares struct drm_device, so there's no need to declare it in vc4_drv.h Signed-off-by: Tian Tao --- drivers/gpu/drm/vc4/vc4_drv.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_drv.h b/drivers/gpu/drm/vc4/vc4_drv.h index 8c8d96b..8717a1c 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.h +++ b/drivers/gpu/drm/vc4/vc4_drv.h @@ -19,7 +19,6 @@ #include "uapi/drm/vc4_drm.h" -struct drm_device; struct drm_gem_object; /* Don't forget to update vc4_bo.c: bo_type_names[] when adding to -- 2.7.4