Skip to content
Snippets Groups Projects
Commit 838f8658 authored by Thomas Zimmermann's avatar Thomas Zimmermann
Browse files

arch/powerpc: Remove <linux/fb.h> from backlight code


Replace <linux/fb.h> with a forward declaration in <asm/backlight.h> to
resolve an unnecessary dependency. Remove pmac_backlight_curve_lookup()
and struct fb_info from source and header files. The function and the
framebuffer struct are unused. No functional changes.

v3:
	* Add Fixes tag (Christophe)
	* fix typos in commit message (Jani)

Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Fixes: d565dd3b ("[PATCH] powerpc: More via-pmu backlight fixes")
Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> # (powerpc)
Link: https://patchwork.freedesktop.org/patch/msgid/20240306122935.10626-4-tzimmermann@suse.de
parent 074d363a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment