From: John Hodge Date: Sat, 24 May 2014 14:52:23 +0000 (+0800) Subject: UDI/include - Fix automatic inclusion of PCI binding X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=6709c471fad595a5dec539b5bf4f6b7d0681141b;p=tpg%2Facess2.git UDI/include - Fix automatic inclusion of PCI binding --- diff --git a/UDI/include/udi_pci.h b/UDI/include/udi_pci.h index f65c6fd5..16e54a17 100644 --- a/UDI/include/udi_pci.h +++ b/UDI/include/udi_pci.h @@ -8,6 +8,9 @@ #ifndef _UDI_PCI_H_ #define _UDI_PCI_H_ +#if UDI_PCI_VERSION != 0x101 +# error "udi_pci.h requires UDI_PCI_VERSION set to 0x101" +#endif #ifndef _UDI_PHYSIO_H_ # error "udi_pci.h requires udi_physio.h" #endif diff --git a/UDI/include/udi_physio.h b/UDI/include/udi_physio.h index 1f7bd8d4..7023687b 100644 --- a/UDI/include/udi_physio.h +++ b/UDI/include/udi_physio.h @@ -128,6 +128,4 @@ struct udi_scgth_s #include #include "physio/pio.h" -#include "physio/pci.h" - #endif