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:
parent
0dbca43e6a
commit
6354e36be7
2 changed files with 12 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue