Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2130138rwp; Fri, 14 Jul 2023 00:54:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlHvHbK4izsOCwzIVM5EgzbNxoppu6V1UEsoq6qE/DRgetk6T+Ys0AFwyFL5UGRQfAVBHsTM X-Received: by 2002:a17:907:5013:b0:988:6491:98e1 with SMTP id fw19-20020a170907501300b00988649198e1mr3029737ejc.42.1689321283863; Fri, 14 Jul 2023 00:54:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689321283; cv=none; d=google.com; s=arc-20160816; b=uJ2pPpukBuX3pO4Nite/SAE2X1y5UUEAHrsdkyt/FdkrEJ3jycfswr0dspNQUv3ecy Sv6UyH2q0Q49wDsR/vikrFIsDMrnsyYQ9PKr8GDxsKOaXPKYi1uXkSaqKtfg5mnRUnR4 s93Pt8SpFQnCAAFHSolqBFCj/pc1+7lrAHrXQNlde3w02q2ye+huN245lDgryikit1hF lqLiRGWu1Rr5CR7qHytPfcPPr+O2qWhruygGlRaLMekQTaeqaF4PwNeZ8F3hOK5AHKm+ aqDcR5L56Uw5zLF/V39GhXbFwjVeOUaODE9tzLgKCilSe9wLCfWQduIqlx/d2gkb1tdq qE4g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=AudvpgVwEo8rKBJvmUL4nJ192ctihi90m956sryfWBI=; fh=5DKxykPUgKEFAnkrsyKpoHLZzCWZaGOy11Csx5qHW6Y=; b=WmoCpNCB21icyCN5cxi3CKh7TV5278ph7yH0lWKEyGBAQNBWZMb3F+aZXH9tVd2ruJ 7Vu4cTQ1Yi6uUDPW7RVuSmy3qs4NzUylsHig+xRi9U4QP1YCkGG+HfcU0Zg569TPu6U/ CNhsBrUOhDxV9jVaIfNrJETD1rpQG6b1VZSByG/I5qxH1HmkK5PiaH4uisZBN/17Qqmo /l7NlcHabx3fnXnkzDAYJ7pPiuoljej4L7tnOoFe5FODADdKNVzFf64CSprIg/WAUSAY S7fbIZiMgH/Vwo+WZPZ4iUMdI+n2IqrK7i+Fcd+J+EbKRIchMXDVjw1h/uStWhcBw6wq ni4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=wykmJUfY; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020a1709063f8d00b00992671918a4si8272038ejj.192.2023.07.14.00.54.18; Fri, 14 Jul 2023 00:54:43 -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=@suse.de header.s=susede2_rsa header.b=wykmJUfY; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235170AbjGNHwb (ORCPT + 99 others); Fri, 14 Jul 2023 03:52:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235522AbjGNHwD (ORCPT ); Fri, 14 Jul 2023 03:52:03 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFDE930EF; Fri, 14 Jul 2023 00:52:01 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 833DC2215B; Fri, 14 Jul 2023 07:52:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1689321120; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AudvpgVwEo8rKBJvmUL4nJ192ctihi90m956sryfWBI=; b=wykmJUfY1D5ex36S6LI+kF19ksusw3sJZJUyIAhm/l3ionBeme5uc+s91tFqTAk5mKXcVa SYtF2IfGApc4U4IXsnRls72i9Vjv3bMYN8NAXwUDUNwnDNmqbvI4VWDNF7Bu3wjt5KWK98 yDaasYg8miFghJ2Hz4jGKSJMrANiqsQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1689321120; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AudvpgVwEo8rKBJvmUL4nJ192ctihi90m956sryfWBI=; b=9PhfE3CxTj7I8+c5wma73L/mIyx7rd//nxbj+qgoPM+1bXhpSGrjvsEhc0NculMY76Q6a/ k0fyBdeWeXIOv5AQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 293BC13A92; Fri, 14 Jul 2023 07:52:00 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id sLNHCaD+sGQCQwAAMHmgww (envelope-from ); Fri, 14 Jul 2023 07:52:00 +0000 From: Thomas Zimmermann To: deller@gmx.de, javierm@redhat.com Cc: linux-sh@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, linux-input@vger.kernel.org, linux-media@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-geode@lists.infradead.org, linux-nvidia@lists.surfsouth.com, linux-hyperv@vger.kernel.org, linux-omap@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, Thomas Zimmermann , Sam Ravnborg , John Paul Adrian Glaubitz , Yoshinori Sato , Rich Felker Subject: [PATCH v3 08/18] sh: mach-sh7763rdp: Assign FB_MODE_IS_UNKNOWN to struct fb_videomode.flag Date: Fri, 14 Jul 2023 09:49:34 +0200 Message-ID: <20230714075155.5686-9-tzimmermann@suse.de> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230714075155.5686-1-tzimmermann@suse.de> References: <20230714075155.5686-1-tzimmermann@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Assign FB_MODE_IS_UNKNOWN to sh7763fb_videomode.flag instead of FBINFO_FLAG_DEFAULT. Both are 0, so the stored value does not change. FBINFO_FLAG_DEFAULT is a flag for a framebuffer in struct fb_info. Flags for videomodes are prefixed with FB_MODE_. v3: * include board name in commit message (Adrian) v2: * assign FB_MODE_IS_UNKNOWN (Adrian) Signed-off-by: Thomas Zimmermann Acked-by: Sam Ravnborg Acked-by: John Paul Adrian Glaubitz Cc: Yoshinori Sato Cc: Rich Felker Cc: John Paul Adrian Glaubitz --- arch/sh/boards/mach-sh7763rdp/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sh/boards/mach-sh7763rdp/setup.c b/arch/sh/boards/mach-sh7763rdp/setup.c index 97e715e4e9b3..e25193001ea0 100644 --- a/arch/sh/boards/mach-sh7763rdp/setup.c +++ b/arch/sh/boards/mach-sh7763rdp/setup.c @@ -119,7 +119,7 @@ static struct fb_videomode sh7763fb_videomode = { .vsync_len = 1, .sync = 0, .vmode = FB_VMODE_NONINTERLACED, - .flag = FBINFO_FLAG_DEFAULT, + .flag = FB_MODE_IS_UNKNOWN, }; static struct sh7760fb_platdata sh7763fb_def_pdata = { -- 2.41.0