summaryrefslogtreecommitdiff
path: root/src/mainboard/arima/hdama/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/arima/hdama/mainboard.c')
-rw-r--r--src/mainboard/arima/hdama/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/arima/hdama/mainboard.c b/src/mainboard/arima/hdama/mainboard.c
index 71b4a336fd..8af64d9091 100644
--- a/src/mainboard/arima/hdama/mainboard.c
+++ b/src/mainboard/arima/hdama/mainboard.c
@@ -313,7 +313,7 @@ static struct device_operations mainboard_operations = {
static void enable_dev(struct device *dev)
{
- dev_root.ops = &mainboard_operations;
+ dev->ops = &mainboard_operations;
}
struct chip_operations mainboard_arima_hdama_ops = {
.name = "Arima HDAMA mainboard ",