summaryrefslogtreecommitdiffstats
path: root/block/partitions/mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/partitions/mac.c')
-rw-r--r--block/partitions/mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/partitions/mac.c b/block/partitions/mac.c
index b6095335636c..7b521df00a39 100644
--- a/block/partitions/mac.c
+++ b/block/partitions/mac.c
@@ -133,7 +133,7 @@ int mac_partition(struct parsed_partitions *state)
}
#ifdef CONFIG_PPC_PMAC
if (found_root_goodness)
- note_bootable_part(state->bdev->bd_dev, found_root,
+ note_bootable_part(state->disk->part0->bd_dev, found_root,
found_root_goodness);
#endif