fix a couple of warnings
[coreboot.git] / src / southbridge / intel / i82801gx / i82801gx_smihandler.c
index cf44772d9fff54529b9e522dd22a2a3d4d2f650b..9cd0370cdc369bfa5447bad68fbe6b486f4ef402 100644 (file)
@@ -27,9 +27,6 @@
 #include <cpu/x86/smm.h>
 #include <device/pci_def.h>
 #include "i82801gx.h"
-#include "i82801gx_power.h"
-
-#define DEBUG_SMI
 
 #define APM_CNT                0xb2
 #define   CST_CONTROL  0x85
@@ -571,10 +568,10 @@ static void southbridge_smi_monitor(unsigned int node, smm_state_save_area_t *st
 #undef IOTRAP
 }
 
-typedef void (*smi_handler)(unsigned int node,
+typedef void (*smi_handler_t)(unsigned int node,
                smm_state_save_area_t *state_save);
 
-smi_handler southbridge_smi[32] = {
+smi_handler_t southbridge_smi[32] = {
        NULL,                     //  [0] reserved
        NULL,                     //  [1] reserved
        NULL,                     //  [2] BIOS_STS