Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp35192pja; Fri, 22 Nov 2019 03:07:06 -0800 (PST) X-Google-Smtp-Source: APXvYqxIYASquAWWPzHwmOYz07WRzlXGesPdxkQqa7TBSd9Ytn9CIW1OktD4RJHxbLIxl3xmJJ// X-Received: by 2002:a05:6402:7d8:: with SMTP id u24mr341156edy.238.1574420826162; Fri, 22 Nov 2019 03:07:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574420826; cv=none; d=google.com; s=arc-20160816; b=DEH335mf8gz2wZaGUE2HtijhrNPOJlklxP3QPi5gXwl5C7SKaQSs/Sk2sLfefwR1EU jvTGGFuXY5K2K/NHepR0CRL7Bu5yvb2QVMq+AaK3pSLgVPTLmH6Yem4Cug38wU2FGnEB FLmKXBoI3LPojr6D0RZKCHG5Zc4Y50xPMi92mcVnTt4dJ0xs311SLHeoTOjtC2clmu51 NhtwLJJAACjV/TZZXMJdrA/TVE8Yw7O8fZbsArN1LRidj5vaDCTWFX5pi7VeSg7VsaQ5 yUammHb5tNOxYYG0KRnWCq7CuM2wmG5G2nvlzYJfp5rB3LAQi7bQ+YUk0vHY+oTQaUWK 9YvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=EsWGty/F46D8gWJwz/3Ll6bwT09ulH9buG7+Sn6Y2/4=; b=0/QNRZ4ba5X2jDQ4Yij7iB2fmyu4BEuMTCII6wnwUJF2Kxoy1JXgHbkVI1NcvkRohS O3ocWLpP2t5VkrkEL8lBTpoSytzx4fOKUZcJLa/lw369Fx5Yo73QrvrEnT2SLNrYqzHv HyvYXVHDaXyrVhl3xtiQygHqgioUbyriA2/bkgrm1CGVcxA94DnZETOcfDjzahtg3YhE GEM5RCewB1ryBciigD7BixZaGRlFmi/QqYy7ye7/W/CL1eq3+GsgbPLu0tgaWNzqLeVK GJ3WmTKKg3653DcLCS48m/g1pAJJf9VsaCQsmU8CYaMpRkjGO39stbYwjK6L8poVIaDM giAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LNolhz4r; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6si4091129ejr.410.2019.11.22.03.06.42; Fri, 22 Nov 2019 03:07:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LNolhz4r; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731402AbfKVLDG (ORCPT + 99 others); Fri, 22 Nov 2019 06:03:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:56910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731381AbfKVLDA (ORCPT ); Fri, 22 Nov 2019 06:03:00 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B5A422075E; Fri, 22 Nov 2019 11:02:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574420580; bh=Pa5fKk6CHyK6RI2MGsaLXHeaFP6X1ftK/j9elCp552A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LNolhz4rc2pqtk6yppIM4xiB0WC+NzNApGJAT3Cp+bJ0Z7heFISm48lfzQ+Em7K7I QVe1lvcKWS/dTjvtJxAPxw+IvDuF/3wWFh0yEwD4gjIdUcDTiyyTT5/Rpi83fxwkRT bBHSN19linIPAWaDVW+5KPLE8ktXNVU8ZLMh9PbY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Ezequiel Garcia , Daniel Vetter , Alexander Shiyan , Bartlomiej Zolnierkiewicz , Sasha Levin Subject: [PATCH 4.19 154/220] fbdev: fix broken menu dependencies Date: Fri, 22 Nov 2019 11:28:39 +0100 Message-Id: <20191122100923.797486909@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100912.732983531@linuxfoundation.org> References: <20191122100912.732983531@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit aae3394ef0ef90cf00a21133357448385f13a5d4 ] The framebuffer options and devices menu is unintentionally split or broken because some items in it do not depend on FB (including several under omap and mmp). Fix this by moving FB_CMDLINE, FB_NOTIFY, and FB_CLPS711X_OLD to just before the FB Kconfig symbol definition and by moving the omap, omap2, and mmp menus to last, following FB_SM712. Also, the FB_VIA dependencies are duplicated by both being inside an "if FB_VIA/endif" block and "depends on FB_VIA", so drop the "depends on FB_VIA" lines since they are redundant. Fixes: ea6763c104c9 ("video/fbdev: Always built-in video= cmdline parsing") Fixes: 5ec9653806ba ("fbdev: Make fb-notify a no-op if CONFIG_FB=n") Fixes: ef74d46a4ef3 ("video: clps711x: Add new Cirrus Logic CLPS711X framebuffer driver") Signed-off-by: Randy Dunlap Cc: Ezequiel Garcia Cc: Daniel Vetter Cc: Alexander Shiyan Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Sasha Levin --- drivers/video/fbdev/Kconfig | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 591a13a597874..f99558d006bf4 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -2,6 +2,18 @@ # fbdev configuration # +config FB_CMDLINE + bool + +config FB_NOTIFY + bool + +config FB_CLPS711X_OLD + tristate + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT + menuconfig FB tristate "Support for frame buffer devices" select FB_CMDLINE @@ -54,12 +66,6 @@ config FIRMWARE_EDID combination with certain motherboards and monitors are known to suffer from this problem. -config FB_CMDLINE - bool - -config FB_NOTIFY - bool - config FB_DDC tristate depends on FB @@ -329,12 +335,6 @@ config FB_ACORN hardware found in Acorn RISC PCs and other ARM-based machines. If unsure, say N. -config FB_CLPS711X_OLD - tristate - select FB_CFB_FILLRECT - select FB_CFB_COPYAREA - select FB_CFB_IMAGEBLIT - config FB_CLPS711X tristate "CLPS711X LCD support" depends on FB && (ARCH_CLPS711X || COMPILE_TEST) @@ -1456,7 +1456,6 @@ if FB_VIA config FB_VIA_DIRECT_PROCFS bool "direct hardware access via procfs (DEPRECATED)(DANGEROUS)" - depends on FB_VIA default n help Allow direct hardware access to some output registers via procfs. @@ -1466,7 +1465,6 @@ config FB_VIA_DIRECT_PROCFS config FB_VIA_X_COMPATIBILITY bool "X server compatibility" - depends on FB_VIA default n help This option reduces the functionality (power saving, ...) of the @@ -2308,10 +2306,6 @@ config FB_SIMPLE Configuration re: surface address, size, and format must be provided through device tree, or plain old platform data. -source "drivers/video/fbdev/omap/Kconfig" -source "drivers/video/fbdev/omap2/Kconfig" -source "drivers/video/fbdev/mmp/Kconfig" - config FB_SSD1307 tristate "Solomon SSD1307 framebuffer support" depends on FB && I2C @@ -2341,3 +2335,7 @@ config FB_SM712 This driver is also available as a module. The module will be called sm712fb. If you want to compile it as a module, say M here and read . + +source "drivers/video/fbdev/omap/Kconfig" +source "drivers/video/fbdev/omap2/Kconfig" +source "drivers/video/fbdev/mmp/Kconfig" -- 2.20.1