diff options
Diffstat (limited to 'disk/part.c')
-rw-r--r-- | disk/part.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/disk/part.c b/disk/part.c index 2a460503922..67d98fe8443 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 |