]> git.ipfire.org Git - thirdparty/linux.git/commit
powerpc/powermac: backlight: Include <linux/of.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 27 Oct 2025 14:05:40 +0000 (15:05 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Dec 2025 10:54:59 +0000 (21:54 +1100)
commit8d398324967a6e380e92a82e28581ac1e1c2982f
tree7979003031950579137823edf5450863d160d0f8
parent5b3a426affbd30a4293d284ab0d37164a4064531
powerpc/powermac: backlight: Include <linux/of.h>

Include <linux/of.h> to avoid dependency on backlight header to include
it. Declares of_find_node_by_name(), of_property_match_string() and
of_node_put().

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 243ce64b2b37 ("backlight: Do not include <linux/fb.h> in header file")
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>
Closes: https://lore.kernel.org/linuxppc-dev/CA+G9fYs8fn5URQx2+s2oNxdUgZkSrdLC0P1tNBW_n-6BaBkK2Q@mail.gmail.com/
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powermac/backlight.c