Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp3909228rwp; Sat, 15 Jul 2023 11:57:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlHhWQpMfw29vm+vi+O92jnm+wsJC/w4lPNnuItWBdDWPNyk8g9uOJDzc039y+Yi5YKvjO1C X-Received: by 2002:a05:6512:4859:b0:4fa:73ea:aa2d with SMTP id ep25-20020a056512485900b004fa73eaaa2dmr1082707lfb.4.1689447438640; Sat, 15 Jul 2023 11:57:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689447438; cv=none; d=google.com; s=arc-20160816; b=u/Hh9BTLcGSN6pnfMoSN0no8pkrcSlpO1pHsNXnkwmncRiQbCtHDLqTfAbh14g3217 bhdsKT9z9tpgUKtGEcP1d4UehQ0aklZkNN3z1bVnv1HBjb4HqQol89QZ4n8a0bMDJLDa e7iXVYOmU3GTSgOeaoxw0SqA5vEaSOoBAOhSbauTcYU7+8oQIS4Yww1psHOmCOGyKgeC r8laxKk3rptkNZkGNaw+Kc1wO8MLiksY4yNB59ziJjyo4X1+C7rrSXg4bJcPHOmtJ9Ba +OHtCj5Kxd03ioQQZ4Bds+rgHibpJBlLxrdUFFQwSa6zVKOSFUuNVg1wAsjiP0wK70DC EhJA== 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=XQU1suU52QWxFoeDq2NhL7nvQscSVqmhs7hKGj4jdHg=; b=tYjBWKVlCsMmtEP9vKJuN3gnrD2ZdJPgF8a5WWoA19mMwIXvNXunMTzZALFZZWXgY6 kI5IEWcC2OX1+GfY6yYfewRBu11RavcAYr76V0k1uC7GG2cMRvv0LkE8Kr/BW2STgfFD H+x7L0A+/qfN8PdCDUpjr6RKi8zD3OWP1yWC1Xr/dcqgDi58X1Fjn8Yban9q7yYZo+iL U1/4OcIMy4x2L6sREPcOwY9Vtw15dG3c8AcBUZbPc4NPln1MgnOsUT2AVdkSzeOcl6XD KX6NpSlNAyGa7hucqBEIkOC37dOlz32SCvi1pHcni7we2IHQTgduvZ/wbfHNye3I7xtv nFAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=rlx2K0DX; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=sIzlOQKv; 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 v3-20020a056402184300b005217c6c827esi713487edy.255.2023.07.15.11.56.54; Sat, 15 Jul 2023 11:57:18 -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=rlx2K0DX; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=sIzlOQKv; 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 S230512AbjGOSzB (ORCPT + 99 others); Sat, 15 Jul 2023 14:55:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230435AbjGOSyA (ORCPT ); Sat, 15 Jul 2023 14:54:00 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E36252D63; Sat, 15 Jul 2023 11:53:50 -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 4CF6821ADE; Sat, 15 Jul 2023 18:53:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1689447229; 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=rlx2K0DX0a7aLp8uigVFHuUAM9bV1hHZPasKhvTaGsQY9kZ/4eVtjq5LUVsKuQec422bE0 +mB1BYcbpceDSMWz3txt2h8RHtuIAVrQd7KADTim+k1y09Q8+6PaQ2P8rkFia9UHT3opPt M832Ov6RomMMCW1eAKM4qqN4itU5oNA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1689447229; 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=sIzlOQKvsGqS4WsvShqurtnstG7hUqxBdFaIRnVCAIKCT6s48j0bu9fHlgpf1Iv5erIHnG p0vGP/J7dx1s/4Bw== 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 DBF9A13A23; Sat, 15 Jul 2023 18:53:48 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id yLrPNDzrsmQCBwAAMHmgww (envelope-from ); Sat, 15 Jul 2023 18:53:48 +0000 From: Thomas Zimmermann To: deller@gmx.de, javierm@redhat.com, geert@linux-m68k.org, dan.carpenter@linaro.org 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-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 v4 08/18] sh: mach-sh7763rdp: Assign FB_MODE_IS_UNKNOWN to struct fb_videomode.flag Date: Sat, 15 Jul 2023 20:51:50 +0200 Message-ID: <20230715185343.7193-9-tzimmermann@suse.de> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230715185343.7193-1-tzimmermann@suse.de> References: <20230715185343.7193-1-tzimmermann@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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