tree: Move 'asmlinkage' before type 'void'

Move 'asmlinkage' before the function type for consistency.

Change-Id: I293590ef917b78c6ed3d151cd0080e42d0f10651
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73259
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes Haouas
2023-02-25 11:19:35 +01:00
committed by Felix Singer
parent e10d8a0d52
commit 22abb3ec33
2 changed files with 2 additions and 2 deletions

View File

@@ -700,7 +700,7 @@ static void smm_enable(void)
* means that ENV_SMM is 0, but we are actually executing in the environment
* setup by the smm_stub.
*/
static void asmlinkage smm_do_relocation(void *arg)
static asmlinkage void smm_do_relocation(void *arg)
{
const struct smm_module_params *p;
int cpu;

View File

@@ -8,7 +8,7 @@
#include <soc/pci_devs.h>
#include <soc/reg_access.h>
extern void asmlinkage light_sd_led(void);
extern asmlinkage void light_sd_led(void);
static const struct reg_script legacy_gpio_init[] = {
/* Temporarily enable the legacy GPIO controller */