X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fpart.h;h=29c03205f2dc2950f98aa03252eb3a86e348b0f7;hb=71d67f43dabe8dd8adbe594b6c61944a2d106efa;hp=f89ebc6e731a5029c98b40fbb3ab00df98c9d2d0;hpb=735dd97b1b20e777d059c7b389fe9d70cd3f80c7;p=oweals%2Fu-boot.git diff --git a/include/part.h b/include/part.h index f89ebc6e73..29c03205f2 100644 --- a/include/part.h +++ b/include/part.h @@ -44,7 +44,11 @@ typedef struct block_dev_desc { unsigned long (*block_read)(int dev, unsigned long start, lbaint_t blkcnt, - unsigned long *buffer); + void *buffer); + unsigned long (*block_write)(int dev, + unsigned long start, + lbaint_t blkcnt, + const void *buffer); }block_dev_desc_t; /* Interface types: */