diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-02-20 09:05:45 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-02-20 09:05:45 +0100 |
commit | eb867a76238fb38e952c37871b16d0d7fd61c95f (patch) | |
tree | 7db1f4941c4e51073b7a6d600a9432b51e2f56fa /include/ide.h | |
parent | 53758fa20e935cc87eeb0519ed365df753a6f289 (diff) | |
download | bootable_bootloader_goldelico_gta04-eb867a76238fb38e952c37871b16d0d7fd61c95f.zip bootable_bootloader_goldelico_gta04-eb867a76238fb38e952c37871b16d0d7fd61c95f.tar.gz bootable_bootloader_goldelico_gta04-eb867a76238fb38e952c37871b16d0d7fd61c95f.tar.bz2 |
[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>
Diffstat (limited to 'include/ide.h')
-rw-r--r-- | include/ide.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ide.h b/include/ide.h index e29ed36..6976a6c 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 */ |