aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/include/intelblocks/smihandler.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2017-08-09 11:50:03 -0600
committerAaron Durbin <adurbin@chromium.org>2017-08-09 20:46:32 +0000
commit46e293ddff163cea3446ee4413a3c6d071119e60 (patch)
treef02f8175545baa33e441d597941b217b4146a4d5 /src/soc/intel/common/block/include/intelblocks/smihandler.h
parentaa3d78d5e695f983ace43a594191f31769cd410c (diff)
soc/intel/common: smi handler fix comilation error
The device_t type is used in smihandler.h, but the header is not including a header which provides that type. Fix that by #includeing <device/device.h> Change-Id: I89af949b088bf569d330f2ea74b1b8ae97e1ed52 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/20933 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Subrata Banik <subrata.banik@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/block/include/intelblocks/smihandler.h')
-rw-r--r--src/soc/intel/common/block/include/intelblocks/smihandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/smihandler.h b/src/soc/intel/common/block/include/intelblocks/smihandler.h
index b587bb136d..4423904371 100644
--- a/src/soc/intel/common/block/include/intelblocks/smihandler.h
+++ b/src/soc/intel/common/block/include/intelblocks/smihandler.h
@@ -16,6 +16,8 @@
#ifndef SOC_INTEL_COMMON_BLOCK_SMI_HANDLER_H
#define SOC_INTEL_COMMON_BLOCK_SMI_HANDLER_H
+#include <arch/io.h>
+#include <device/device.h>
#include <stdint.h>
struct gpi_status;