summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-05-26 12:11:30 +0200
committerMacpaul Lin <macpaul@gmail.com>2013-07-24 11:49:17 +0800
commit8599515f42cd51009bb3b0bf8f48e1181b058537 (patch)
treee5192a209c45de89e9a7a9600ae992f6b0574e36
parentb979cba9da8aa859f4dcec9b9036eb9ca0f13210 (diff)
downloadu-boot-imx-8599515f42cd51009bb3b0bf8f48e1181b058537.zip
u-boot-imx-8599515f42cd51009bb3b0bf8f48e1181b058537.tar.gz
u-boot-imx-8599515f42cd51009bb3b0bf8f48e1181b058537.tar.bz2
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>
-rw-r--r--drivers/pci/pci_ftpci100.c4
-rw-r--r--include/faraday/ftpci100.h (renamed from drivers/pci/pci_ftpci100.h)0
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci_ftpci100.c b/drivers/pci/pci_ftpci100.c
index a795a97..df7f615 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
index 7a4945a..7a4945a 100644
--- a/drivers/pci/pci_ftpci100.h
+++ b/include/faraday/ftpci100.h