From patchwork Tue Jun 24 13:45:53 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Zimmermann X-Patchwork-Id: 899795 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (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 A1AE42D239D for ; Tue, 24 Jun 2025 13:52:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750773165; cv=none; b=RVxMy+macttkAxge2z7Cmy6O111o5q3jr1zMYx8cpbLIA6WVcBCqWiBbp8HDXBUROIsE+gdkHtBH8h0/cPtIq4OaT5kTWAG/c8dRHqhiXg+8+kUvsBxTEQrXgdFINJM9169i2N0OnERehMoXMHSNJzIDixOv8rgsWaSAImzFvPk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750773165; c=relaxed/simple; bh=+bUs6Om91Iemd4aNlQLLeyHt4EK3O9b92SUCrVC1jUQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tBt+Ww7nwHNXSOqht9bcLJPTKExpO8GteBAKLl2yJffwSRw3HhzlfOscFMRCuS+ioOkGGC8AwFPS0qQdo/X0Jb0OeBPyaBbivzcZl7gTw6+UFc/ZvKtuFxayVhFxyb/cPSo9F5G3ZlXSrHOeO+WMWnvM1Ynu7zbxJ5D8sqcskwc= 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.131 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-out2.suse.de (Postfix) with ESMTPS id 5DC311F460; Tue, 24 Jun 2025 13:51:59 +0000 (UTC) Authentication-Results: smtp-out2.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 B284C13A96; Tue, 24 Jun 2025 13:51:58 +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 SA1iKn6tWmjFcQAAD6G6ig (envelope-from ); Tue, 24 Jun 2025 13:51:58 +0000 From: Thomas Zimmermann 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 Subject: [PATCH v2 13/15] backlight: rave-sp: Include and Date: Tue, 24 Jun 2025 15:45:53 +0200 Message-ID: <20250624134858.1736090-14-tzimmermann@suse.de> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250624134858.1736090-1-tzimmermann@suse.de> References: <20250624134858.1736090-1-tzimmermann@suse.de> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 50.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[] X-Rspamd-Queue-Id: 5DC311F460 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Action: no action X-Spam-Level: X-Spam-Flag: NO X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Score: -4.00 Include to declare struct device_node and include to declare struct of_device_id. Avoids dependency on backlight header to include it. Signed-off-by: Thomas Zimmermann --- drivers/video/backlight/rave-sp-backlight.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/backlight/rave-sp-backlight.c b/drivers/video/backlight/rave-sp-backlight.c index e708a060a6e4..bfe01b9b9174 100644 --- a/drivers/video/backlight/rave-sp-backlight.c +++ b/drivers/video/backlight/rave-sp-backlight.c @@ -9,8 +9,10 @@ #include #include +#include #include #include +#include #include #define RAVE_SP_BACKLIGHT_LCD_EN BIT(7)