]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: fujitsu: Reorder code to avoid forward declarations
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 17 Mar 2026 19:40:02 +0000 (20:40 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 18 Mar 2026 12:06:01 +0000 (14:06 +0200)
commitc256927c62475f222bd9fc913538dd484f88fed6
treecf04ac8a82490d23f95bf0b3469ebd6edded6748
parentbd13b265d386afb15d9ee5feb4f2cb605a5770db
platform/x86: fujitsu: Reorder code to avoid forward declarations

Move the definitions of acpi_fujitsu_bl_notify() and
acpi_fujitsu_laptop_notify() along with some helpers above
the definitions of the functions that will refer to them
after subsequent changes, to avoid having to add forward
declarations of them.

No intentional functional impact.

Acked-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/1950259.tdWV9SEqCh@rafael.j.wysocki
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/fujitsu-laptop.c