summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/opregion.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/skylake/opregion.c')
-rw-r--r--src/soc/intel/skylake/opregion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/skylake/opregion.c b/src/soc/intel/skylake/opregion.c
index 4539560efd..ef7d4ab968 100644
--- a/src/soc/intel/skylake/opregion.c
+++ b/src/soc/intel/skylake/opregion.c
@@ -19,7 +19,7 @@
#include <stdlib.h>
#include <string.h>
-int init_igd_opregion(igd_opregion_t *opregion)
+enum cb_err init_igd_opregion(igd_opregion_t *opregion)
{
const optionrom_vbt_t *vbt;
uint32_t vbt_len;
@@ -46,5 +46,5 @@ int init_igd_opregion(igd_opregion_t *opregion)
/* We just assume we're mobile for now */
opregion->header.mailboxes = MAILBOXES_MOBILE;
- return 0;
+ return CB_SUCCESS;
}