Skip to content
Snippets Groups Projects
Commit 4722c035 authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

x86: Add missing DECLARE_GLOBAL_DATA_PTR for pci.c


arch/x86/cpu/pci.c has access to the U-Boot global data thus
DECLARE_GLOBAL_DATA_PTR is needed.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 120c4169
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,8 @@
#include <pci.h>
#include <asm/pci.h>
DECLARE_GLOBAL_DATA_PTR;
static struct pci_controller x86_hose;
int pci_early_init_hose(struct pci_controller **hosep)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment