summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/mcb
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mcb')
-rw-r--r--kernel/drivers/mcb/mcb-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/mcb/mcb-parse.c b/kernel/drivers/mcb/mcb-parse.c
index 004926955..b0155b05c 100644
--- a/kernel/drivers/mcb/mcb-parse.c
+++ b/kernel/drivers/mcb/mcb-parse.c
@@ -57,7 +57,7 @@ static int chameleon_parse_gdd(struct mcb_bus *bus,
mdev->id = GDD_DEV(reg1);
mdev->rev = GDD_REV(reg1);
mdev->var = GDD_VAR(reg1);
- mdev->bar = GDD_BAR(reg1);
+ mdev->bar = GDD_BAR(reg2);
mdev->group = GDD_GRP(reg2);
mdev->inst = GDD_INS(reg2);