Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3159817imw; Mon, 11 Jul 2022 03:12:18 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u2VxvyV3ci/8b3sveEPCmeHCjzoffjiRwV5DktFA2bF8FoeSDnpBZZwJLMWxudi7jSVA3q X-Received: by 2002:a17:907:e93:b0:722:e082:2787 with SMTP id ho19-20020a1709070e9300b00722e0822787mr17991578ejc.618.1657534337797; Mon, 11 Jul 2022 03:12:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657534337; cv=none; d=google.com; s=arc-20160816; b=Ruhm25U0Di8jo7s5hRxrW7tAWZ+T8glWfHAdbpBOWBA/u7i/x8PjB2JIADOb+YUeNY iuCRzLaYj6Ch6D4Cl99fonib8FQPNVJvI5d8xcYmV5Sf0/zCZYY1aAF4zxgUhqKvImFH DPpWr2JIcFfxOmCctTA0hNZ6AL+qIvSjXJhPqKkOw06pvfwjDykKUIcdOkT/8x/lwbVB s+N5TBInSmMkYpKV03f7/4amgebHxUxJgvynNwhRLFJbueVCtgz+pEoKuSbtW5+5CxGZ nxlryHFqd+j1sOF2QcdO7isuIP6wx55qgD72jFTzqpbRGf/nld9usgxPc7m0ZanEv+oe 4SsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=PujjQsac2YmHZ36SFrk7sEIeerlJXGmhMFFvyXbn1t0=; b=W7Uscg24PiwGhB/lPdN3j/x24Q9TNgWwP7idZLlwWeJyONB5QJAiAa+QE6was0Vjnc Xr+6EAVFm1Bk9RC0z0PJIWMpzwtbrNXSZ9EqW/EVmwSZEBOK7PLWWIfxvO3t5ppf8mLv kcAnAMAAOFiCxcnvrOyoW9n/Qza+1/r+XtYkBzf4ozSVM9p1U+KWoEiQhgpwtAgJcgsN wQJIwihPUXW00cd6bfTRJ/4S66roGzy8Uk40vz5s3vpDH5MkdaSHzKqI+bnVz/cRlO+w 70cfsu5uWH95RWwq1x+QqPdjgoOtyOtrWPn16R6rdz5SILJ90YnCWIupqUZML9XpR1ah KSPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="L/8Okk+V"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i11-20020a05640242cb00b0043a76f88f65si12697383edc.186.2022.07.11.03.11.53; Mon, 11 Jul 2022 03:12:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="L/8Okk+V"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231214AbiGKJKz (ORCPT + 99 others); Mon, 11 Jul 2022 05:10:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229734AbiGKJKU (ORCPT ); Mon, 11 Jul 2022 05:10:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B33E02A94C; Mon, 11 Jul 2022 02:08:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 43EE261148; Mon, 11 Jul 2022 09:08:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E196C34115; Mon, 11 Jul 2022 09:08:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1657530508; bh=3Rmk8qZWpW2yMzZ5SsMzHiMd/7zR1ly06CyIaurBVtM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L/8Okk+VX4yz5o3FeVHJNBj6OH/LoWNZDxSX8h9FExcIsFWmu5a8UC//E0yLJhMpe izAwgMlNI0j0mdT0eMzfcOeasdnfdLmJUfJOwpDxjJX0A1uS8OHAm7gCBsZYLuhLl6 QHzDtuGKw28ivou/FbcLvtExqYAFZ6NhZHxudM+s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephen Boyd , Hsin-Yi Wang , Helge Deller Subject: [PATCH 4.19 10/31] video: of_display_timing.h: include errno.h Date: Mon, 11 Jul 2022 11:06:49 +0200 Message-Id: <20220711090538.151308075@linuxfoundation.org> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220711090537.841305347@linuxfoundation.org> References: <20220711090537.841305347@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Hsin-Yi Wang commit 3663a2fb325b8782524f3edb0ae32d6faa615109 upstream. If CONFIG_OF is not enabled, default of_get_display_timing() returns an errno, so include the header. Fixes: 422b67e0b31a ("videomode: provide dummy inline functions for !CONFIG_OF") Suggested-by: Stephen Boyd Signed-off-by: Hsin-Yi Wang Reviewed-by: Stephen Boyd Signed-off-by: Helge Deller Signed-off-by: Greg Kroah-Hartman --- include/video/of_display_timing.h | 2 ++ 1 file changed, 2 insertions(+) --- a/include/video/of_display_timing.h +++ b/include/video/of_display_timing.h @@ -9,6 +9,8 @@ #ifndef __LINUX_OF_DISPLAY_TIMING_H #define __LINUX_OF_DISPLAY_TIMING_H +#include + struct device_node; struct display_timing; struct display_timings;