Skip to content

Commit

Permalink
i8257: add missing const
Browse files Browse the repository at this point in the history
Signed-off-by: Hervé Poussineau <[email protected]>
Message-id: [email protected]
Signed-off-by: John Snow <[email protected]>
  • Loading branch information
hpoussin authored and jnsnow committed Feb 3, 2016
1 parent b9ebd28 commit 8d3c4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/dma/i8257.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 8d3c4c8

Please sign in to comment.