diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-01-31 13:21:39 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-02-01 08:45:45 +0100 |
commit | c4c39c70c5fef43655019236bec8ba5e7273b868 (patch) | |
tree | cb3c392e9c0dbd4454ec0a4b52095788921b0e5c /drivers/acpi/bgrt.c | |
parent | e66880808960322d8126f878d7fe315a3f1ada74 (diff) | |
download | linux-c4c39c70c5fef43655019236bec8ba5e7273b868.tar.bz2 |
efi: Use typed function pointers for the runtime services table
Instead of using void pointers, and casting them to correctly typed
function pointers upon use, declare the runtime services pointers
as function pointers using their respective prototypes, for which
typedefs are already available.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/1485868902-20401-8-git-send-email-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/acpi/bgrt.c')
0 files changed, 0 insertions, 0 deletions