From: Gabor Juhos <juhosg@openwrt.org>
Date: Sun, 26 May 2013 10:11:30 +0000 (+0200)
Subject: pci: move pci_ftpci100.h to include/faraday/ftpci100.h
X-Git-Tag: v2025.01-rc5-pxa1908~16018^2~8
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/git-logo.png?a=commitdiff_plain;h=8599515f42cd51009bb3b0bf8f48e1181b058537;p=u-boot.git

pci: move pci_ftpci100.h to include/faraday/ftpci100.h

Even though the header files is used only by the
pci_ftpci100 driver, it contains declaration for
a function which is used by external code.

Move the header file to a common location which
lets external code use it.

Compile tested only.

Cc: Macpaul Lin <macpaul@andestech.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
---

diff --git a/drivers/pci/pci_ftpci100.c b/drivers/pci/pci_ftpci100.c
index a795a97add..df7f6157af 100644
--- a/drivers/pci/pci_ftpci100.c
+++ b/drivers/pci/pci_ftpci100.c
@@ -23,11 +23,11 @@
 #include <malloc.h>
 #include <pci.h>
 
+#include <faraday/ftpci100.h>
+
 #include <asm/io.h>
 #include <asm/types.h> /* u32, u16.... used by pci.h */
 
-#include "pci_ftpci100.h"
-
 struct ftpci100_data {
 	unsigned int reg_base;
 	unsigned int io_base;
diff --git a/drivers/pci/pci_ftpci100.h b/include/faraday/ftpci100.h
similarity index 100%
rename from drivers/pci/pci_ftpci100.h
rename to include/faraday/ftpci100.h