mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
m68k: sun3: Add missing asmlinkage to sun3_init()
sun3_init() is called from assembly code, so it should be marked asmlinkage for documentation purposes. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/9a174020de2c55e108be9bd25fcdec3e48d655c4.1694613528.git.geert@linux-m68k.org
This commit is contained in:
parent
bdc1656c08
commit
a428664189
1 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
#include <linux/init.h>
|
||||
#include <linux/memblock.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/linkage.h>
|
||||
|
||||
#include <asm/oplib.h>
|
||||
#include <asm/setup.h>
|
||||
|
@ -49,7 +50,7 @@ static void sun3_get_hardware_list(struct seq_file *m)
|
|||
seq_printf(m, "PROM Revision:\t%s\n", romvec->pv_monid);
|
||||
}
|
||||
|
||||
void __init sun3_init(void)
|
||||
asmlinkage void __init sun3_init(void)
|
||||
{
|
||||
unsigned char enable_register;
|
||||
int i;
|
||||
|
|
Loading…
Reference in a new issue