]> 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)
committerMatt Turner <mattst88@gmail.com>
Sat, 13 Jun 2020 00:43:18 +0000 (17:43 -0700)
commit0a860d1012c94df42a5ed2947dc91bf689046cfc
tree86eb8964bbf51958ee1e5cbad9ac110276e05edd
parente4286f6fc52095769cec7b485e6def649911cbc2
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: f28f73ff4379 ("tty/sysrq: alpha: export and use __sysrq_get_key_op()")
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/setup.c