backlight: rave-sp: Include <linux/of.h> and <linux/mod_devicetable.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 15 Jul 2025 12:24:50 +0000 (14:24 +0200)
committerLee Jones <lee@kernel.org>
Tue, 16 Sep 2025 16:05:19 +0000 (17:05 +0100)
commit246da2b48e2ce973db255fc4b6faf42f73c03114
tree0c1de17f6cda02451a0e6634c5edb23f5ac34e70
parentb38ed7c05a35f3a029c2fc5e43a94aa81e2ac843
backlight: rave-sp: Include <linux/of.h> and <linux/mod_devicetable.h>

Include <linux/of.h> to declare struct device_node and include
<linux/mod_devicetable.h> to declare struct of_device_id. Avoids
dependency on backlight header to include it.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: "Daniel Thompson (RISCstar)" <danielt@kernel.org>
Link: https://lore.kernel.org/r/20250715122643.137027-14-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/video/backlight/rave-sp-backlight.c