[coreboot] [PATCH] h8dme-2: fix most remaining compile-time warnings

Joe Korty joe.korty at ccur.com
Tue May 11 23:10:37 CEST 2010


Clean up some h8dme-2 warnings.

Eliminate those warnings in the supermicro h8dme-2 build
that are due to the header file w83627hf.h being included
multiple times.

Signed-off-by: Joe Korty <joe.korty at ccur.com>

Index: trunk/src/superio/winbond/w83627hf/w83627hf.h
===================================================================
--- trunk.orig/src/superio/winbond/w83627hf/w83627hf.h	2010-05-11 07:00:24.000000000 -0400
+++ trunk/src/superio/winbond/w83627hf/w83627hf.h	2010-05-11 13:06:19.000000000 -0400
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
+#ifndef __W83627HF_H
+#define __W83627HF_H
+
 #define W83627HF_FDC              0   /* Floppy */
 #define W83627HF_PP               1   /* Parallel Port */
 #define W83627HF_SP1              2   /* Com1 */
@@ -117,3 +120,4 @@
 void w83627hf_set_clksel_48(device_t dev);
 #endif
 
+#endif /* __W83627HF_H */




More information about the coreboot mailing list