i8257: add missing const
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> Message-id: 1453843944-26833-8-git-send-email-hpoussin@reactos.org Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
b9ebd28c62
commit
8d3c4c81f3
@ -87,7 +87,7 @@ enum {
|
||||
|
||||
static void i8257_dma_run(void *opaque);
|
||||
|
||||
static int channels[8] = {-1, 2, 3, 1, -1, -1, -1, 0};
|
||||
static const int channels[8] = {-1, 2, 3, 1, -1, -1, -1, 0};
|
||||
|
||||
static void i8257_write_page(void *opaque, uint32_t nport, uint32_t data)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user