summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
Diffstat (limited to 'disk')
-rw-r--r--disk/part.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/disk/part.c b/disk/part.c
index 2a46050392..67d98fe844 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -21,13 +21,7 @@
#define PRINTF(fmt,args...)
#endif
-struct block_drvr {
- char *name;
- struct blk_desc* (*get_dev)(int dev);
- int (*select_hwpart)(int dev_num, int hwpart);
-};
-
-static const struct block_drvr block_drvr[] = {
+const struct block_drvr block_drvr[] = {
#if defined(CONFIG_CMD_IDE)
{ .name = "ide", .get_dev = ide_get_dev, },
#endif