[coreboot-gerrit] New patch to review for coreboot: f026837 'irqroute.h': Add missing header guards

HAOUAS Elyes (ehaouas@noos.fr) gerrit at coreboot.org
Fri Aug 1 13:40:26 CEST 2014


HAOUAS Elyes (ehaouas at noos.fr) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6445

-gerrit

commit f026837b0dd6f643f570fdab7956b1940636e934
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date:   Fri Aug 1 13:40:06 2014 +0200

    'irqroute.h': Add missing header guards
    
    Change-Id: I2f8327632f82510be657ddcf0e0d4ef8df3b98a8
    Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
 src/mainboard/google/rambi/irqroute.h        | 5 +++++
 src/mainboard/intel/bayleybay_fsp/irqroute.h | 5 +++++
 src/mainboard/intel/mohonpeak/irqroute.h     | 5 +++++
 3 files changed, 15 insertions(+)

diff --git a/src/mainboard/google/rambi/irqroute.h b/src/mainboard/google/rambi/irqroute.h
index 7339793..1fba2f7 100644
--- a/src/mainboard/google/rambi/irqroute.h
+++ b/src/mainboard/google/rambi/irqroute.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef IRQROUTE_H
+#define IRQROUTE_H
+
 #include <soc/intel/baytrail/baytrail/irq.h>
 #include <soc/intel/baytrail/baytrail/pci_devs.h>
 
@@ -61,3 +64,5 @@
 #define CODEC_IRQ_OFFSET	0
 /* Corresponding SUS GPIO pins */
 #define CODEC_IRQ_GPIO		9
+
+#endif /* IRQROUTE_H */
diff --git a/src/mainboard/intel/bayleybay_fsp/irqroute.h b/src/mainboard/intel/bayleybay_fsp/irqroute.h
index 4a29b20..08552c5 100644
--- a/src/mainboard/intel/bayleybay_fsp/irqroute.h
+++ b/src/mainboard/intel/bayleybay_fsp/irqroute.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef IRQROUTE_H
+#define IRQROUTE_H
+
 #include <soc/intel/fsp_baytrail/baytrail/irq.h>
 #include <soc/intel/fsp_baytrail/baytrail/pci_devs.h>
 
@@ -70,3 +73,5 @@
 	PIRQ_PIC(F, 12), \
 	PIRQ_PIC(G, 14), \
 	PIRQ_PIC(H, 15)
+
+#endif /* IRQROUTE_H */
diff --git a/src/mainboard/intel/mohonpeak/irqroute.h b/src/mainboard/intel/mohonpeak/irqroute.h
index 0e71a88..f3bc42c 100644
--- a/src/mainboard/intel/mohonpeak/irqroute.h
+++ b/src/mainboard/intel/mohonpeak/irqroute.h
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef IRQROUTE_H
+#define IRQROUTE_H
+
 #include <southbridge/intel/fsp_rangeley/irq.h>
 #include <southbridge/intel/fsp_rangeley/pci_devs.h>
 
@@ -66,3 +69,5 @@
 	PIRQ_PIC(F, 15), \
 	PIRQ_PIC(G, 14), \
 	PIRQ_PIC(H, 15)
+
+#endif /* IRQROUTE_H */



More information about the coreboot-gerrit mailing list