Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp1030267lqs; Wed, 6 Mar 2024 04:30:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWaFhIYVN3RBunog4kx/PlCZ7M13s9Sc92owg+gERzWMuWpxWqBiMf1h6oT6Wb+7LxCsox+W8y5nPhn7kQTS6l2d7FNO/nRIU4sACrb9g== X-Google-Smtp-Source: AGHT+IHUOBycC5q8MsDzULpldTs8A0LVfWd7hd+Mg3kr7qZvCiWeTEqgUkXijES6xImiKbKwaXcg X-Received: by 2002:a17:906:4712:b0:a45:84e7:b265 with SMTP id y18-20020a170906471200b00a4584e7b265mr4842054ejq.7.1709728207942; Wed, 06 Mar 2024 04:30:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709728207; cv=pass; d=google.com; s=arc-20160816; b=oGAftE8fASbx2gbel2DYooG4CotoJK0GyglDnfpMGdBYEfMSXlwNfJl+mwMwcnsGl+ OPHHV5eV+1mzTayC7/j2zONIgl/g5xReQXXyxH94bsndO2P0dsqO0T3bxbNtx9OTL168 ohJ7o8DVbp+rAhGc7qQjNC65UZhlXUFpnq7H24BM5ERKPsEgOa0TpVem/ifGMyF5ArR4 wZkkGmaRRcJRPsrVcQfmp02r4saRRL2lZFJHA0HVtP40RibF1NPVNQCqivo+mxjSvLG5 MmxHN8B62xwShvfGQO9rVgLFh32h5iZ4z9d61As+myaJbf6mo4728oQC3sKEE58LOdBW xWvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=Zluc5pdwJo1X5Y/YYPNxWSl6vvjmlAN09PftLZOSlFU=; fh=qjM+570eC5xCjnIFzj41RzL3OvtwxIkFbyZ/ynaK4+w=; b=QPfPLhcVWPyDfUtASAsSFZiY6FDuYI6P+jIzg5lzUFi5zZp/hXKeil1KdvjS2AFQAu Ey8H1R3zszRCK8/Bd49Ko2JO5Ifn+gmEVkk9zw/1kMgHEclC9oH+1xiKZAK5v8zesmwR fK4Ud/jXVYOVUrdCeuvVkquGQH/NBZgl8z4nHyeGCCGSEfRsezVIwILPgHeyRmybVZN0 O9+LCrHlPnIXs/oA+dO0WVcEiNdNPPkwei/dCzjvB8HvdWFO1skhL8nn2YAoexpJkc2u SWYVsqSPseT9eSdm8gx7Mx2lvAXMHpQcBLHp9GDYqZxaOddLuO246AK2EzMHzetFxDQJ qNyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=s7NL1SeH; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="URDeu/hI"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-93886-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93886-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q16-20020a17090622d000b00a4466b62d7fsi5236643eja.943.2024.03.06.04.30.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 04:30:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93886-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=s7NL1SeH; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="URDeu/hI"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-93886-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93886-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AA43B1F23A27 for ; Wed, 6 Mar 2024 12:30:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7B4580637; Wed, 6 Mar 2024 12:29:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="s7NL1SeH"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="E328/abI"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="URDeu/hI"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="VLzGhH1D" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6308480034; Wed, 6 Mar 2024 12:29:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709728186; cv=none; b=JrH7Ft9uaESKRZUbmImCCZJ5JHGKw6MGOVeFalFoqvEKD8A/+WbJ7Y36EmFnSuq6/1bxUuKyMqb680wFDwyM9bj84bgINl8G4dYmgefNVmP4KCQnl73yIaZXjLycVDdQd8hrdzu7zzU5VfCkqylclGQHC3KGvVOJN28w3pafeC8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709728186; c=relaxed/simple; bh=Yt+ho94pR60luKjtRmzjBa884MCPJnkc5KLlQn2SxNQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ca44BzeJEzImJ2ndZBg+vflJ9Mq0Xryt1a41IKYc6+/0XIiSosTV8ybJDhgL9rCYSnigf+bu00uq+Xp6waFBH6Uogj4OOqTN6BOSiuM9dVB1H/4RsxviTSsgdhM5jUW3n1TMzkvUMZnV7PdzjpaXFaSyytT2S73YZrSTMojJKbo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=s7NL1SeH; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=E328/abI; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=URDeu/hI; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=VLzGhH1D; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [10.150.64.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 8306F4ED40; Wed, 6 Mar 2024 12:29:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1709728182; 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; bh=Zluc5pdwJo1X5Y/YYPNxWSl6vvjmlAN09PftLZOSlFU=; b=s7NL1SeHWkF2MbeTlPKqQvm95tz3aoqI2G9lDHzeXkJsnwrnQI7vwvEbFf4QMWaGRWRODx H2FIztmYi2AXTnuSQ9d7Qb3C0A+C/in4mHKsiKKdlnycGTCWnUtg90g/ED7H+j5bml4Cc9 s/oCqv7Bqiwo5KhRmdWzGJ8lMrV2uqo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1709728182; 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; bh=Zluc5pdwJo1X5Y/YYPNxWSl6vvjmlAN09PftLZOSlFU=; b=E328/abIB3tFTOP6OXZ6hhUDJebGKd7aPjZMUzqkPeuagY2oqMhzDEs6MwbCv3ZE76f+wD J0Idh9PMsta+bgBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1709728181; 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; bh=Zluc5pdwJo1X5Y/YYPNxWSl6vvjmlAN09PftLZOSlFU=; b=URDeu/hI/Zn02IV37ksOM9LCOfTbuQG06F0Hfd3pNkwydo2ILv/fHvjsNKw8m0NEXy0mni 2eHlmrB1XiSSWgDOFIan2geuceVjWRykzdaKFw1W81jxIAzMCnx+lpsFsfoh/1aFOqMo0o IiY6p7x18yXLVdEy6xJD3Sm/W/mqti4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1709728181; 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; bh=Zluc5pdwJo1X5Y/YYPNxWSl6vvjmlAN09PftLZOSlFU=; b=VLzGhH1DuXcZrVbxUMRIZC6ogdcZerr3MLWzPtHJEV32tN+D/nnh/2wJ9RIaeDOiLAdm2/ HCSyZzUc8zdk/+CA== Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id B5B661377D; Wed, 6 Mar 2024 12:29:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id oRTxKrRh6GWdTgAAn2gu4w (envelope-from ); Wed, 06 Mar 2024 12:29:40 +0000 From: Thomas Zimmermann To: mpe@ellerman.id.au, jani.nikula@intel.com, naresh.kamboju@linaro.org, deller@gmx.de, npiggin@gmail.com, christophe.leroy@csgroup.eu, aneesh.kumar@kernel.org, naveen.n.rao@linux.ibm.com Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, lkft-triage@lists.linaro.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Thomas Zimmermann Subject: [PATCH v3 0/3] arch/powerpc: Resolve backlight include dependencies Date: Wed, 6 Mar 2024 13:28:17 +0100 Message-ID: <20240306122935.10626-1-tzimmermann@suse.de> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: smtp-out1.suse.de; none X-Spamd-Result: default: False [4.19 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com,gmx.de]; R_MISSING_CHARSET(2.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; BROKEN_CONTENT_TYPE(1.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCPT_COUNT_TWELVE(0.00)[14]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[patchwork.freedesktop.org:url]; FREEMAIL_TO(0.00)[ellerman.id.au,intel.com,linaro.org,gmx.de,gmail.com,csgroup.eu,kernel.org,linux.ibm.com]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.71)[83.48%] X-Spam-Level: **** X-Spam-Score: 4.19 X-Spam-Flag: NO After cleaning up in commit 11b4eedfc87d ("fbdev: Do not include in header"), building with CONFIG_PMAC_BACKLIGHT=y returns errors about missing declarations. Patches 1 and 2 resolve the errors. Patch 1 has been reviewed at [1]. Patch 3 removes another dependency between backlight and fbdev code. Compile tested with ppc6xx_defconfig. v3: * add Fixes tag and fix typos in patch 3 v2: * via-pmu-backlight: fix build errors * powerpc: resolve dependency between fbdev and backlight [1] https://patchwork.freedesktop.org/series/130661/ Thomas Zimmermann (3): fbdev/chipsfb: Include macintosh/via-pmu-backlight: Include arch/powerpc: Remove from backlight code arch/powerpc/include/asm/backlight.h | 5 ++-- arch/powerpc/platforms/powermac/backlight.c | 26 --------------------- drivers/macintosh/via-pmu-backlight.c | 1 + drivers/video/fbdev/chipsfb.c | 1 + 4 files changed, 4 insertions(+), 29 deletions(-) -- 2.44.0