aio: dw: fix compilation errors

() Fix compilation errors due to variable ordering.
() Fix the default config for Quark/SE SS as
   the kconfig options were renamed in previous
   patches.

Change-Id: I1004ae332fb857b60ed90df59831e7bd9c490cb8
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2015-12-07 14:14:42 -08:00 committed by Anas Nashif
commit 6354e36be7
2 changed files with 12 additions and 10 deletions

View file

@ -25,14 +25,7 @@
#define INT_COMPARATORS_MASK 0x7FFFF
static int dw_aio_cmp_config(struct device *dev)
{
ARG_UNUSED(dev);
IRQ_CONFIG(dw_aio_cmp, INT_AIO_CMP_IRQ);
return DEV_OK;
}
static int dw_aio_cmp_config(struct device *dev);
static int dw_aio_cmp_disable(struct device *dev, uint8_t index)
{
@ -226,5 +219,14 @@ IRQ_CONNECT_STATIC(dw_aio_cmp,
INT_AIO_CMP_IRQ,
0,
dw_aio_cmp_isr,
0,
0);
static int dw_aio_cmp_config(struct device *dev)
{
ARG_UNUSED(dev);
IRQ_CONFIG(dw_aio_cmp, INT_AIO_CMP_IRQ);
return DEV_OK;
}