Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk --- drivers/pci.c | 7 ------- include/drivers/pci.h | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/pci.c b/drivers/pci.c index d506a50..432ef71 100644 --- a/drivers/pci.c +++ b/drivers/pci.c @@ -59,13 +59,6 @@ const pci_arch_t *arch; #define IS_PREFETCHABLE 0x40000000 #define IS_ALIASED 0x20000000
-enum { - CONFIGURATION_SPACE = 0, - IO_SPACE = 1, - MEMORY_SPACE_32 = 2, - MEMORY_SPACE_64 = 3, -}; - static int encode_int32_cells(int num_cells, u32 *prop, ucell val) { int i = 0; diff --git a/include/drivers/pci.h b/include/drivers/pci.h index 5a7480b..02599c1 100644 --- a/include/drivers/pci.h +++ b/include/drivers/pci.h @@ -1,6 +1,13 @@ #ifndef _H_PCI #define _H_PCI
+enum { + CONFIGURATION_SPACE = 0, + IO_SPACE = 1, + MEMORY_SPACE_32 = 2, + MEMORY_SPACE_64 = 3, +}; + typedef uint32_t pci_addr;
typedef struct pci_range_t pci_range_t;