]> git.baikalelectronics.ru Git - kernel.git/commit
alpha: Fix build around srm_sysrq_reboot_op
authorJoerg Roedel <jroedel@suse.de>
Thu, 11 Jun 2020 09:11:39 +0000 (11:11 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2020 20:05:24 +0000 (13:05 -0700)
commit9db86edbd15157f16d63cad8b0b9f946c62ad7a0
treea3a5880ffdf2d5dd6489bd30e81a2ca00c616709
parent5f3492d4e65b799c13153ed25aa22a229760f69d
alpha: Fix build around srm_sysrq_reboot_op

The patch introducing the struct was probably never compile tested,
because it sets a handler with a wrong function signature. Wrap the
handler into a functions with the correct signature to fix the build.

Fixes: 866e565ae70f ("tty/sysrq: alpha: export and use __sysrq_get_key_op()")
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/kernel/setup.c