Skip to content

Commit

Permalink
Attempt to fix warning w/ gcc 6 and 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlun committed Sep 26, 2017
1 parent 45b19ee commit 0c92d41
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions storm/x86/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@
#define DMA_CHANNEL_CASCADE 4

// Controller registers.
static const unsigned int dma_controller[NUMBER_OF_CONTROLLERS] =
{
0x08, 0xD0
};

static const unsigned int dma_master_reset[NUMBER_OF_CONTROLLERS] =
{
0x0D, 0xDA
};

static const unsigned int dma_master_mask[NUMBER_OF_CONTROLLERS] =
{
0x0F, 0xDE
};
// static const unsigned int dma_controller[NUMBER_OF_CONTROLLERS] =
// {
// 0x08, 0xD0
// };

// static const unsigned int dma_master_reset[NUMBER_OF_CONTROLLERS] =
// {
// 0x0D, 0xDA
// };

// static const unsigned int dma_master_mask[NUMBER_OF_CONTROLLERS] =
// {
// 0x0F, 0xDE
// };

static const unsigned int dma_mask[NUMBER_OF_CONTROLLERS] =
{
Expand Down

0 comments on commit 0c92d41

Please sign in to comment.