]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
fbdev/core: Move framebuffer and backlight helpers into separate files
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 13 Jun 2023 11:07:08 +0000 (13:07 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 27 Jun 2023 07:58:51 +0000 (09:58 +0200)
commitf0f6839be41d71a367611284412949f1d3c8baea
treeefd1d42b0e0030ac07c789e909fb6fe09a9c101a
parent403f0dda63155eeaae3a7f43d70ed4bea7c293f8
fbdev/core: Move framebuffer and backlight helpers into separate files

Move framebuffer and backlight helpers into separate files. Leave
fbsysfs.c to sysfs-related code. No functional changes.

The framebuffer helpers are not in fbmem.c because they are under
GPL-2.0-or-later copyright, while fbmem.c is GPL-2.0.

v2:
* include <linux/mutex.h> (Sam)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230613110953.24176-34-tzimmermann@suse.de
drivers/video/fbdev/core/Makefile
drivers/video/fbdev/core/fb_backlight.c [new file with mode: 0644]
drivers/video/fbdev/core/fb_info.c [new file with mode: 0644]
drivers/video/fbdev/core/fbsysfs.c