summaryrefslogtreecommitdiff
path: root/drivers/block/ftide020.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/ftide020.c')
-rw-r--r--drivers/block/ftide020.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/ftide020.c b/drivers/block/ftide020.c
index 0b7c129..1f6995e 100644
--- a/drivers/block/ftide020.c
+++ b/drivers/block/ftide020.c
@@ -64,7 +64,7 @@ void ide_write_register(int dev, unsigned int port, unsigned char val)
IDE_REG_DA_WRITE(port) | val);
}
-void ide_write_data(int dev, ulong *sect_buf, int words)
+void ide_write_data(int dev, const ulong *sect_buf, int words)
{
static struct ftide020_s *ftide020 = (struct ftide020_s *) FTIDE_BASE;