Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp309164pxm; Wed, 2 Mar 2022 16:02:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJybqkIKKNyttYfk1bhBuOUR6rm3gNXNfxdQ2VrLlG2+vAmfPMfIpLmFVYVLPmMNa9+QEB8x X-Received: by 2002:a17:90b:3ecb:b0:1be:f858:c235 with SMTP id rm11-20020a17090b3ecb00b001bef858c235mr2306001pjb.245.1646265754096; Wed, 02 Mar 2022 16:02:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646265754; cv=none; d=google.com; s=arc-20160816; b=uAzmK9AWxfutqDBhkx4Z42F4I1kReGe9kWr88RV/tR6/gM3r1a7e9sGeHRHlaxNZDS R7hFA2kdDmx++qiQEcAt1bvVKXt8yX2BAZnOP38QWsbaE8HCDzNJuZ2C9kL3DB/cxc/k eH9Qcin08dfd1AEV7G0dsPoZBb8/Hc37xIIPbLyB1K5epmCDXJ/ipHO2pKZRRr+Zf78i 0p8wPrG1AA6inJCprtdm/v/nFN6Xc5m2KeM2yVjCqQQyWbDahcPUN1TUVXrmIEU6woRt E9O5T0pMjkJYGV8xMD4uvjOGgS7dqWHx+fA7CruIt7oH0tCvv2l2GvXRe5f/4204ZE7f X8Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=ZMpzNEO4OPsp548pYzGhk7wZS3nBzSDrcI4nxyW6tZM=; b=YFBOil+Oka3BAegSJ6X4RQAk1bkgYDKeHZklEQQO5FkqQ/KKjK28yFyrZwZ/ubLhxW NGSqa/eDVrdPklxr1MZsIE7Z+q5eLbkE1x7fr22cOs0KoKEN4O9hZK1cE5gUz0KR1uDQ W954yJdUa6Jt1ZdD/N6T5hNytQoawRU0dP1aYl9UosVaswpUbBBdlIJnWvv8V1ETKf+u 23/KhY0gKByZ4sAy/XW5WOtjeavyhMffuS02bj8GPfs9y5VsMOVB3jhboE34iGMnMg04 fOv5ZH/3Ns33+c0hcaXUfyRlDSLteLA3sZfr0unBi5HlOqaNl7WcrqmNXB878TEJLnjJ vY/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=aiIy58X8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id v23-20020a17090abb9700b001bbe055fd00si368685pjr.167.2022.03.02.16.02.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 16:02:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=aiIy58X8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 587BE1A39F5; Wed, 2 Mar 2022 15:21:31 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241758AbiCBRJx (ORCPT + 99 others); Wed, 2 Mar 2022 12:09:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235582AbiCBRJw (ORCPT ); Wed, 2 Mar 2022 12:09:52 -0500 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C56C72A24D for ; Wed, 2 Mar 2022 09:09:08 -0800 (PST) Received: by mail-yb1-xb49.google.com with SMTP id h16-20020a056902009000b00628a70584b2so1499366ybs.6 for ; Wed, 02 Mar 2022 09:09:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=ZMpzNEO4OPsp548pYzGhk7wZS3nBzSDrcI4nxyW6tZM=; b=aiIy58X8kGzp5JdrFAHj8izY/rdF4BudQOUeB5/s3q4lshKXZ8omiY5VgIxx1xhf4Q dL4vmHW8ZXhN7rL9CYSUcnfn6JmdPeZOm0gq2PBtrVRbSuGpUhOtGZG3N2eKrLAKmSAR wWhWGgSCdOTafxyzWhmfnjnvO5aWcs15wKB4QVsUrdYVnaa9lYECPBmn9dahI2ohVyBw JZx+NG4w2d7VMBIOlTGPDcJSKtUIJaQ06z7RksYPil+b27jX2AhwrL6zQ9HN8f5XxQDF miXmPk/SGZHevMAarSD1RaPCIAyT8S2Pb1IC+5hY6XVK2bINUpvFjJjMymgqXMaFtds1 obUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=ZMpzNEO4OPsp548pYzGhk7wZS3nBzSDrcI4nxyW6tZM=; b=tqC+tm/iMVp3RJ9onOOlAARwgc46ZpTKGA2mUjytvFgO4qBPkTlhmOgBULN7f61laV muf2hsetu5NPTCtdCAZLkIPoDLHuUYyt5D98MJ/6zotejmSrEMWUUlSBgZ3Wx5BOeKeH fI3bY7wLGwRAoNzIvIw764t9SY89iyCPyiA/rQcyB+dm55r/xRHOZGkqQPrSE5geOofb OondjRQd9HHDm/ipl4cj3XykkqAh9y8gVox+vjmEE3EUEfzpO/cIizUIyZa8BOofJzTC 1nierndZW//0iHD72cSdQ7xs3ingFR/Zl9bGjNrkbBoO4AX6E2IeTl2wEtPXHMBJbHUC jdyg== X-Gm-Message-State: AOAM532Owozn3eo5/mewVBPldzGhkXbkCymYs+XdnXx/+ZhjY3kzfamd /+d/v98kZtW5izHjib1HcQoVHGGjaXtP X-Received: from ezekiel.c.googlers.com ([fda3:e722:ac3:cc00:4f:4b78:c0a8:108e]) (user=shraash job=sendgmr) by 2002:a25:35c2:0:b0:60f:c5d8:99ff with SMTP id c185-20020a2535c2000000b0060fc5d899ffmr29221573yba.380.1646240948002; Wed, 02 Mar 2022 09:09:08 -0800 (PST) Date: Wed, 2 Mar 2022 22:39:02 +0530 Message-Id: <20220302170902.752687-1-shraash@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.35.1.574.g5d30c73bfb-goog Subject: [PATCH] drm: Fix no previous prototype error in drm_nomodeset.c From: Aashish Sharma To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org, groeck@chromium.org, dri-devel@lists.freedesktop.org Cc: Aashish Sharma Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix this kernel test robot error: drivers/gpu/drm/drm_nomodeset.c:8:6: error: no previous prototype for 'drm_firmware_drivers_only' Including drm_drv.h in drm_nomodeset.c which contains drm_firmware_drivers_only's declaration. Signed-off-by: Aashish Sharma --- 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_nomodeset.c index f3978d5bd3a1..9402deb4985f 100644 --- a/drivers/gpu/drm/drm_nomodeset.c +++ b/drivers/gpu/drm/drm_nomodeset.c @@ -2,6 +2,7 @@ #include #include +#include static bool drm_nomodeset; -- 2.35.1.574.g5d30c73bfb-goog