From nobody Sat Apr 11 12:09:35 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21D33C38A2D for ; Thu, 27 Oct 2022 08:46:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234782AbiJ0Iqu (ORCPT ); Thu, 27 Oct 2022 04:46:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235119AbiJ0Iqo (ORCPT ); Thu, 27 Oct 2022 04:46:44 -0400 Received: from ssh248.corpemail.net (ssh248.corpemail.net [210.51.61.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7181232AB1 for ; Thu, 27 Oct 2022 01:46:40 -0700 (PDT) Received: from ([60.208.111.195]) by ssh248.corpemail.net ((D)) with ASMTP (SSL) id WKW00033; Thu, 27 Oct 2022 16:46:33 +0800 Received: from localhost.localdomain (10.200.104.97) by jtjnmail201605.home.langchao.com (10.100.2.5) with Microsoft SMTP Server id 15.1.2507.12; Thu, 27 Oct 2022 16:46:34 +0800 From: Bo Liu To: , , , , CC: , , Bo Liu Subject: [PATCH] drm: Include missing header Date: Thu, 27 Oct 2022 04:46:25 -0400 Message-ID: <20221027084625.2505-1-liubo03@inspur.com> X-Mailer: git-send-email 2.18.2 MIME-Version: 1.0 X-Originating-IP: [10.200.104.97] tUid: 202210271646332f5d602ca8eb02dc5222562c63677094 X-Abuse-Reports-To: service@corp-email.com Abuse-Reports-To: service@corp-email.com X-Complaints-To: service@corp-email.com X-Report-Abuse-To: service@corp-email.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The file drm_nomodeset.c missed the header drm_drv.h, which resulted on the following warning: drivers/gpu/drm/drm_nomodeset.c:8:6: warning: no previous prototype for 'drm_firmware_drivers_only' [-Wmissing-prototypes] Signed-off-by: Bo Liu --- drivers/gpu/drm/drm_nomodeset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/drm_nomodeset.c b/drivers/gpu/drm/drm_nomodese= t.c index f3978d5bd3a1..9402deb4985f 100644 --- a/drivers/gpu/drm/drm_nomodeset.c +++ b/drivers/gpu/drm/drm_nomodeset.c @@ -2,6 +2,7 @@ =20 #include #include +#include =20 static bool drm_nomodeset; =20 --=20 2.27.0