summaryrefslogtreecommitdiff
path: root/include/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ide.h')
-rw-r--r--include/ide.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ide.h b/include/ide.h
index 59ea9758a7..0269d516dc 100644
--- a/include/ide.h
+++ b/include/ide.h
@@ -76,7 +76,7 @@ int ide_device_present(int dev);
unsigned char ide_read_register(int dev, unsigned int port);
void ide_write_register(int dev, unsigned int port, unsigned char val);
void ide_read_data(int dev, ulong *sect_buf, int words);
-void ide_write_data(int dev, ulong *sect_buf, int words);
+void ide_write_data(int dev, const ulong *sect_buf, int words);
#endif
/*