summaryrefslogtreecommitdiffstats
path: root/common/partitions/dos.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-02-16 14:47:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-02-16 23:39:08 +0100
commit86b3577a725a34160ec5ea60555abb7e4b330ad7 (patch)
tree52d478dca9fe1b843cba13efa1f49d09ce263adb /common/partitions/dos.c
parent263bb23ed2e21ed411b87c32b6c27db0f35a33a1 (diff)
downloadbarebox-86b3577a725a34160ec5ea60555abb7e4b330ad7.tar.gz
disk: introduce partition name
so we can register partion with name as present in EFI GPT Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/partitions/dos.c')
-rw-r--r--common/partitions/dos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/partitions/dos.c b/common/partitions/dos.c
index 4f147f7..597f9ba 100644
--- a/common/partitions/dos.c
+++ b/common/partitions/dos.c
@@ -76,7 +76,7 @@ static void dos_partition(void *buf, struct block_device *blk,
}
}
-struct partition_parser dos = {
+static struct partition_parser dos = {
.parse = dos_partition,
.type = filetype_mbr,
};