pci: move pci_ftpci100.h to include/faraday/ftpci100.h
authorGabor Juhos <juhosg@openwrt.org>
Sun, 26 May 2013 10:11:30 +0000 (12:11 +0200)
committerMacpaul Lin <macpaul@gmail.com>
Wed, 24 Jul 2013 03:49:17 +0000 (11:49 +0800)
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>
drivers/pci/pci_ftpci100.c
include/faraday/ftpci100.h [moved from drivers/pci/pci_ftpci100.h with 100% similarity]

index a795a97..df7f615 100644 (file)
 #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;