From 6709c471fad595a5dec539b5bf4f6b7d0681141b Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 24 May 2014 22:52:23 +0800 Subject: [PATCH] UDI/include - Fix automatic inclusion of PCI binding --- UDI/include/udi_pci.h | 3 +++ UDI/include/udi_physio.h | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.20.1