Message ID | 20250618122436.379013-5-tzimmermann@suse.de |
---|---|
State | New |
Headers | show
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 7A3B7285404 for <linux-fbdev@vger.kernel.org>; Wed, 18 Jun 2025 12:27: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=1750249665; cv=none; b=gAIUNOi69Kcnsc1ZKZH4BMKiQuc6SQJqqu0eJU7aAYXcqCbY7gGe0VZrvZtV9g2vtRM6AmAiakqb2Ptc5Vv0Hxr2bqbN8BfM00k5b7PBgZqbA+vQGtTNzaiESvN1sQAcqkBnnJ6/7KTS6DbsP/HXtZoTth49BGof3LMsvJTsD7I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750249665; c=relaxed/simple; bh=sZfHhJgOa7Lz1x1K53HUQAqC6TnyWLSjcwZYzWpllB4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sLKt7skPGZGA6nxfbBwccoPHbo62WGRwNOQPwRk3ZxVROnlmJOXiF+620Rn4SZ3XQBvzXkPQCjC9LHgbvanVmeyj3Onzq5S3Zsix1PeQRm3iytGd0LdZwtSF/m+R0F7qaTa2Wupiq8YCsjmXDEeydaJDjVUsIvfHI6FO8akwE8o= 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; 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 imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (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 6369921240; Wed, 18 Jun 2025 12:27:37 +0000 (UTC) Authentication-Results: smtp-out1.suse.de; none Received: from imap1.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 imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id AD0E513721; Wed, 18 Jun 2025 12:27:36 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id 8G/WKLiwUmg4UgAAD6G6ig (envelope-from <tzimmermann@suse.de>); Wed, 18 Jun 2025 12:27:36 +0000 From: Thomas Zimmermann <tzimmermann@suse.de> To: lee@kernel.org, danielt@kernel.org, jingoohan1@gmail.com, neil.armstrong@linaro.org, jessica.zhang@oss.qualcomm.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, airlied@gmail.com, simona@ffwll.ch, fnkl.kernel@gmail.com, j@jannau.net, hdegoede@redhat.com, ilpo.jarvinen@linux.intel.com, sven@kernel.org, alyssa@rosenzweig.io, neal@gompa.dev, deller@gmx.de, support.opensource@diasemi.com, duje.mihanovic@skole.hr Cc: dri-devel@lists.freedesktop.org, asahi@lists.linux.dev, platform-driver-x86@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, Thomas Zimmermann <tzimmermann@suse.de> Subject: [PATCH 04/12] drm/panel: panel-summit: Include <linux/of.h> Date: Wed, 18 Jun 2025 14:16:36 +0200 Message-ID: <20250618122436.379013-5-tzimmermann@suse.de> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250618122436.379013-1-tzimmermann@suse.de> References: <20250618122436.379013-1-tzimmermann@suse.de> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: <linux-fbdev.vger.kernel.org> List-Subscribe: <mailto:linux-fbdev+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-fbdev+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Spam-Level: X-Spamd-Result: default: False [-4.00 / 50.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[] X-Spam-Flag: NO X-Rspamd-Queue-Id: 6369921240 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Action: no action X-Spam-Score: -4.00 |
Series |
backlight: Do not include <linux/fb.h> in header file
|
expand
|
diff --git a/drivers/gpu/drm/panel/panel-summit.c b/drivers/gpu/drm/panel/panel-summit.c index 4854437e2899..02aa1ec287d6 100644 --- a/drivers/gpu/drm/panel/panel-summit.c +++ b/drivers/gpu/drm/panel/panel-summit.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-only #include <linux/backlight.h> +#include <linux/of.h> #include <drm/drm_device.h> #include <drm/drm_mipi_dsi.h> #include <drm/drm_mode.h>
Include <linux/of.h> to declare device_property_read_u32() and struct of_device_id. Avoids dependency on backlight header to include it. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> --- drivers/gpu/drm/panel/panel-summit.c | 1 + 1 file changed, 1 insertion(+)