From: Bin Meng Date: Tue, 30 Dec 2014 22:53:19 +0800 Subject: [U-Boot] [PATCH v3 1/7] x86: Add missing DECLARE_GLOBAL_DATA_PTR for pci.c In-Reply-To: <1419951205-16783-1-git-send-email-bmeng.cn@gmail.com> References: <1419951205-16783-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1419951205-16783-2-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de arch/x86/cpu/pci.c has access to the U-Boot global data thus DECLARE_GLOBAL_DATA_PTR is needed. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v3: None Changes in v2: - Add a commit message arch/x86/cpu/pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/cpu/pci.c b/arch/x86/cpu/pci.c index f3492c3..404fbb6 100644 --- a/arch/x86/cpu/pci.c +++ b/arch/x86/cpu/pci.c @@ -15,6 +15,8 @@ #include #include +DECLARE_GLOBAL_DATA_PTR; + static struct pci_controller x86_hose; int pci_early_init_hose(struct pci_controller **hosep) -- 1.8.2.1