From patchwork Wed Mar 6 12:28:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Zimmermann X-Patchwork-Id: 778656 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 3C06B80026; Wed, 6 Mar 2024 12:29:45 +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=pWrSCKiLp7srCxNbbtxUpVA09QKW06YbqoXBkiFsLilaPwXjzG4k9hW6FQv+Y4xyK+E7Pj4wbv/9PEVNPMa7mDR5Unyzs9Rz1lObCEltJcwTY9EIeRCuLn7LhSAYXfW+ZGWPEATiIsT3sG8FzzsgxxZ1nOpVAeW+8Q42DufVbjw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709728186; c=relaxed/simple; bh=AHYIQLm8LbfLA1ikLUmJezS+emZgT8zhQICfYb25+os=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=I3P9r3KWARnXqEXC0Ur6PzBXsASaU4rbtTqnmzL+s/ve+zKZjw9WCARtsXt9vhkf1yb2h2Wl+emkbEXKhm3tJs2DU2dBv8OtwLjh7V2TBrobydVtBVoy/qMTWaH1y8AETVdIzBDruXWRANbZgf/I3AgTgQGSvszORHXfbUI2VmU= 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=ICN4//FG; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=oaN2YyUU; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=r8h0hjSy; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=wLnEU1dZ; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="ICN4//FG"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="oaN2YyUU"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="r8h0hjSy"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="wLnEU1dZ" 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 E65AF3EE52; Wed, 6 Mar 2024 12:29:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1709728183; 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=kJNxphZx7XjU9hiGlq4h2q9FwKPOBcX1l2W3Dsi+WLE=; b=ICN4//FGmuEjcPVnj+SfqqTI/t3LzpsCERY4Ca6tGEvO9VQ//HKgiyQjWH+/mHJt2jOAJY 3UER7Nx3nKvobmzp3tinSKZVLz+eKxUXbN2wrzm8Ap+REQvgTd7sXxDXuLRgum2Mgjnn31 cqy/bNn/gKnN8tbiwQ2b9y2y8Up3cPE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1709728183; 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=kJNxphZx7XjU9hiGlq4h2q9FwKPOBcX1l2W3Dsi+WLE=; b=oaN2YyUUHdeJqYPjlvUkBXBxK5B4V+nLcGDg80+aTv3TENGff/iJiavGL+guFNAu+hVDOX 5e5uR6CP9MTg5MBA== 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: in-reply-to:in-reply-to:references:references; bh=kJNxphZx7XjU9hiGlq4h2q9FwKPOBcX1l2W3Dsi+WLE=; b=r8h0hjSyqHERH5YA4X/WlprlmyPv85scRxZ3Xn3t3fKLks+hsWmTNTorf6FpIn8Ljy7ZEN zaZ8Ih/+YoNcUAmiyAKvpuV4GljJwn4S9KAUGNKLZt2qx2NtKpTL8SCrNZojfeLGfWCebF ssnORnHzhIlFnDdBYXgiBagRwkI1i9o= 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: in-reply-to:in-reply-to:references:references; bh=kJNxphZx7XjU9hiGlq4h2q9FwKPOBcX1l2W3Dsi+WLE=; b=wLnEU1dZXGOZHjuc8TGCU3NXkc1b8a8DDKNpfFDjV4u7Rkf6FBby4zCuGksKhsY9cfVkGJ B6vQc8HA9kZflDAg== 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 47C3613A9B; Wed, 6 Mar 2024 12:29:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id ENkpELZh6GWdTgAAn2gu4w (envelope-from ); Wed, 06 Mar 2024 12:29:42 +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 2/3] macintosh/via-pmu-backlight: Include Date: Wed, 6 Mar 2024 13:28:19 +0100 Message-ID: <20240306122935.10626-3-tzimmermann@suse.de> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240306122935.10626-1-tzimmermann@suse.de> References: <20240306122935.10626-1-tzimmermann@suse.de> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Authentication-Results: smtp-out1.suse.de; none X-Spamd-Result: default: False [-2.02 / 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)[]; REPLY(-4.00)[]; BROKEN_CONTENT_TYPE(1.50)[]; R_RATELIMIT(0.00)[to_ip_from(RL9wq65f3r6cge75md5ma8xy98)]; 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)[linaro.org:email,intel.com:email,gmx.de:email,lists.freedesktop.org:email,suse.de:email]; 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(-2.92)[99.67%] X-Spam-Level: X-Spam-Flag: NO X-Spam-Score: -2.02 Fix builds with CONFIG_PMAC_BACKLIGHT=y. The include statement for the backlight header has recently been removed from . Add it to via-pmu-backlight.c to get the necessary symbols. Reported-by: Naresh Kamboju Closes: https://lore.kernel.org/dri-devel/CA+G9fYsAk5TbqqxFC2W4oHLGA0CbTHMxbeq8QayFXTU75YiueA@mail.gmail.com/ Signed-off-by: Thomas Zimmermann Fixes: 11b4eedfc87d ("fbdev: Do not include in header") Reviewed-by: Jani Nikula Cc: Thomas Zimmermann Cc: Jani Nikula Cc: Helge Deller Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org --- drivers/macintosh/via-pmu-backlight.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/macintosh/via-pmu-backlight.c b/drivers/macintosh/via-pmu-backlight.c index c2d87e7fa85be..89450645c2305 100644 --- a/drivers/macintosh/via-pmu-backlight.c +++ b/drivers/macintosh/via-pmu-backlight.c @@ -10,6 +10,7 @@ #include #include +#include #include #include