]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: toshiba_acpi: Reorder code to avoid forward declaration
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 24 Mar 2026 19:58:05 +0000 (20:58 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 31 Mar 2026 16:14:23 +0000 (19:14 +0300)
commit99aef5d711c6e463ceff34d0657eca4b4558996a
tree9825ba302e87b30f8a35987aed9e78bd32746a24
parent8e0a2fc68ec369f2b6755994da1d318d0898a9d9
platform/x86: toshiba_acpi: Reorder code to avoid forward declaration

Move the definition of toshiba_acpi_notify() before the definitions of
the functions that will refer to it after subsequent updates to avoid
having to add a forward declarations of it.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/4734258.LvFx2qVVIh@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/toshiba_acpi.c