summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/adm1026
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/i2c/adm1026')
-rw-r--r--src/drivers/i2c/adm1026/adm1026.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/i2c/adm1026/adm1026.c b/src/drivers/i2c/adm1026/adm1026.c
index ab85eb56a6..e8baea1c40 100644
--- a/src/drivers/i2c/adm1026/adm1026.c
+++ b/src/drivers/i2c/adm1026/adm1026.c
@@ -19,7 +19,7 @@
#define ADM1026_REG_CONFIG2 0x01
#define ADM1026_REG_CONFIG3 0x07
-static void adm1026_enable_monitoring(device_t dev)
+static void adm1026_enable_monitoring(struct device *dev)
{
int result;
result = smbus_read_byte(dev, ADM1026_REG_CONFIG1);
@@ -33,7 +33,7 @@ static void adm1026_enable_monitoring(device_t dev)
}
}
-static void adm1026_init(device_t dev)
+static void adm1026_init(struct device *dev)
{
if (dev->enabled && dev->path.type == DEVICE_PATH_I2C) {
if (ops_smbus_bus(get_pbus_smbus(dev))) {
@@ -44,7 +44,7 @@ static void adm1026_init(device_t dev)
}
}
-static void adm1026_noop(device_t dummy)
+static void adm1026_noop(struct device *dummy)
{
}