Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3178920imw; Mon, 11 Jul 2022 03:40:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vDSekaizR9keFRBcJ0i/2qgvxhKluU8x3hRt50FUBcENojkK4XaSqz3ktY/ymJUM1DjF78 X-Received: by 2002:a05:6402:1bda:b0:43a:55d7:9f2f with SMTP id ch26-20020a0564021bda00b0043a55d79f2fmr23353613edb.360.1657536000935; Mon, 11 Jul 2022 03:40:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657536000; cv=none; d=google.com; s=arc-20160816; b=UscnNoNIiWo577AfB1q7SfgZtfz0WzHAkdDvMeSAaL53fQiqEE62KkpaLR7PFrTVAA fjlD6UQplINSVwAFU38wR9grM80JT7geTIwuvx8r6eku70U6kPT1sPfunzypRIv2LOcm J4j3g8fm5ZVOXHYMbbP/m7Ng4jaksyCc+1YXdo5cB5BZCeem4aaMT6Ovs+ivj1FIaICX qjoDq5EkY2RpJy53LVweluZJ/+AARsfl56mlJtcMIRMYuymPP7STlJ3UeVD3CxTSDZVN r1ZLGBuBx6LjWMDgrWEe1ij4zkUPwATM3esC3yMPqqD+/39AGcZbbf5RR+x0vz8smXE0 2uaw== 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=KjFG5+/VD6bYAR97a3dSAPZuqPxjYiIBk89YdWn4GqE=; b=Xpy64uUyVbS/mL1QvaaLohvHAPRwhbN3rP6Ru4DnTycXCgW2m5bAlx/DBjigADs1Y/ svJq/EgiXGcCTqS40XnPc/xE2W0Ni5D2z1VuWK2SH8tPw5U09lA8LpSLa6Mi82y0LVzI JNnajFHERnbUGQfkFldL1Hogn3FFS0x2K2PjOW/9O/z/4xV1pz/c7UA3qOs41saJ0Wk1 KjlZXtwTYfKFFfx68IcM2Vl+ikv93XW0DAzMg0RYEZTVtzbbp+QcKPAdP0M0YeBco71p CDJK/Jt0e7dQB9Z0vC6kIBVC5eEep+N6GGOFx520miB7v09QQ/nwruqE+2CxkXgeNeLG GqpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QvpRLPvE; 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 t18-20020a056402525200b00435c7cf30d4si10674264edd.27.2022.07.11.03.39.36; Mon, 11 Jul 2022 03:40:00 -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=QvpRLPvE; 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 S231406AbiGKJPJ (ORCPT + 99 others); Mon, 11 Jul 2022 05:15:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbiGKJOD (ORCPT ); Mon, 11 Jul 2022 05:14:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68D3D32059; Mon, 11 Jul 2022 02:10:06 -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 E214D611CC; Mon, 11 Jul 2022 09:10:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2A35C341D0; Mon, 11 Jul 2022 09:10:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1657530605; bh=7glkkp0LLer/1vOu19Ra/fd2zYttlhPNl2QaoAA/NUM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QvpRLPvEYl+EPu49K+s78eLAWYCGLPMvfCntJpAuCjtc/KaNvifq1MMkV6Yfe1VfO hzQwUzgPfKHZ3B25Wxy6q2MaLbC5CcaO0ovDOp2B9UbxfHtUh2ycBMY3fzh2LyTdLa BU+AM1WOX3L0WWFHypIhwBdGjn2culF3W5JNTbe0= 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 5.4 13/38] video: of_display_timing.h: include errno.h Date: Mon, 11 Jul 2022 11:06:55 +0200 Message-Id: <20220711090539.121543770@linuxfoundation.org> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220711090538.722676354@linuxfoundation.org> References: <20220711090538.722676354@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 @@ -8,6 +8,8 @@ #ifndef __LINUX_OF_DISPLAY_TIMING_H #define __LINUX_OF_DISPLAY_TIMING_H +#include + struct device_node; struct display_timing; struct display_timings;