mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 16:22:36 +02:00
[PATCH 9_9] Use "void *" not "unsigned long *" for block dev read_write buffer pointers
Block device read/write is anonymous data; there is no need to use a typed pointer. void * is fine. Also add a hook for block_read functions Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
committed by
Stefan Roese
parent
53758fa20e
commit
eb867a7623
@@ -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 */
|
||||
|
Reference in New Issue
Block a user