Move #include <rtems/pci.h> into #if *_SUPPORTED-guarded code sections.

This commit is contained in:
Ralf Corsepius
2009-12-11 07:57:26 +00:00
parent 20b9e9d98c
commit 3e780c1e71
3 changed files with 3 additions and 3 deletions

View File

@@ -54,13 +54,13 @@
#endif
#include <bsp.h>
#include <rtems/pci.h>
#if !defined(PCI_DRAM_OFFSET)
#undef DEC21140_SUPPORTED
#endif
#if defined(DEC21140_SUPPORTED)
#include <rtems/pci.h>
#if defined(__PPC__)
#include <libcpu/byteorder.h>

View File

@@ -80,7 +80,6 @@
#endif
#include <bsp.h>
#include <rtems/pci.h>
#if !defined(PCI_DRAM_OFFSET)
#undef ELNK_SUPPORTED
@@ -90,6 +89,7 @@
#if defined(ELNK_SUPPORTED)
#include <rtems/pci.h>
#if defined(__PPC__)
#include <libcpu/byteorder.h>

View File

@@ -114,13 +114,13 @@
#endif
#include <bsp.h>
#include <rtems/pci.h>
#if !defined(PCI_DRAM_OFFSET)
#undef DRIVER_SUPPORTED
#endif
#if defined(DRIVER_SUPPORTED) /* this covers the file "globally"... */
#include <rtems/pci.h>
#include <rtems/error.h>
#include <errno.h>