summaryrefslogtreecommitdiff
path: root/src/ec/smsc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/smsc')
-rw-r--r--src/ec/smsc/mec1308/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/smsc/mec1308/ec.c b/src/ec/smsc/mec1308/ec.c
index 4d3b30a118..0a7c4ae5a2 100644
--- a/src/ec/smsc/mec1308/ec.c
+++ b/src/ec/smsc/mec1308/ec.c
@@ -121,7 +121,7 @@ void ec_set_ports(u16 cmd_reg, u16 data_reg)
}
#if !defined(__PRE_RAM__) && !defined(__SMM__)
-static void mec1308_enable(device_t dev)
+static void mec1308_enable(struct device *dev)
{
struct ec_smsc_mec1308_config *conf = dev->chip_info;