diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ide.h | 4 | ||||
-rw-r--r-- | include/part.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/ide.h b/include/ide.h index e29ed36de0..6976a6c319 100644 --- a/include/ide.h +++ b/include/ide.h @@ -49,7 +49,7 @@ typedef ulong lbaint_t; */ void ide_init(void); -ulong ide_read(int device, lbaint_t blknr, ulong blkcnt, ulong *buffer); -ulong ide_write(int device, lbaint_t blknr, ulong blkcnt, ulong *buffer); +ulong ide_read(int device, lbaint_t blknr, ulong blkcnt, void *buffer); +ulong ide_write(int device, lbaint_t blknr, ulong blkcnt, void *buffer); #endif /* _IDE_H */ diff --git a/include/part.h b/include/part.h index 4f5a570795..29c03205f2 100644 --- a/include/part.h +++ b/include/part.h @@ -44,7 +44,7 @@ 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, |