From patchwork Tue May 11 21:10:37 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: h8dme-2: fix most remaining compile-time warnings Date: Tue, 11 May 2010 21:10:37 -0000 From: Joe Korty X-Patchwork-Id: 1314 Message-Id: <20100511211037.GA8824@tsunami.ccur.com> To: coreboot@coreboot.org 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 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 */