diff options
Diffstat (limited to 'include/ide.h')
-rw-r--r-- | include/ide.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ide.h b/include/ide.h index 80a10f41023..8ecc9dd3a53 100644 --- a/include/ide.h +++ b/include/ide.h @@ -52,7 +52,7 @@ typedef ulong lbaint_t; void ide_init(void); ulong ide_read(int device, lbaint_t blknr, ulong blkcnt, void *buffer); -ulong ide_write(int device, lbaint_t blknr, ulong blkcnt, void *buffer); +ulong ide_write(int device, lbaint_t blknr, ulong blkcnt, const void *buffer); #if defined(CONFIG_OF_IDE_FIXUP) int ide_device_present(int dev); |