mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-24 17:01:34 +00:00
arm/term: Fix linking error due multiple ps2_state definitions
When building with --target=arm-linux-gnu --with-platform=coreboot a linking error occurs caused by multiple definitions of the ps2_state variable. Mark them as static since they aren't used outside their compilation unit. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
97c20f2412
commit
860be435cb
@ -30,7 +30,7 @@
|
||||
#include <grub/fdtbus.h>
|
||||
#include <grub/arm/cros_ec.h>
|
||||
|
||||
struct grub_ps2_state ps2_state;
|
||||
static struct grub_ps2_state ps2_state;
|
||||
|
||||
struct grub_cros_ec_keyscan old_scan;
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
static volatile grub_uint32_t *pl050_regs;
|
||||
|
||||
struct grub_ps2_state ps2_state;
|
||||
static struct grub_ps2_state ps2_state;
|
||||
|
||||
static void
|
||||
keyboard_controller_wait_until_ready (void)
|
||||
|
Loading…
Reference in New Issue
Block a user