drivers: make stubs work with MVIC

Quark D2000 which uses MVIC does not define CONFIG_IOAPIC,
so make the stubs work with MVIC.

Change-Id: If0ef53f16592a7a8a467629cffe976e37b258901
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-11-28 21:53:43 -05:00
commit d3d26ab864
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@
#include <drivers/ioapic.h>
#if defined(CONFIG_RTC_DW)
#if defined(CONFIG_IOAPIC)
#if defined(CONFIG_IOAPIC) || defined(CONFIG_MVIC)
ioapic_mkstub rtc rtc_dw_isr 0
#endif
#endif

View file

@ -21,7 +21,7 @@
#include <drivers/ioapic.h>
#if defined(CONFIG_WDT_DW)
#if defined(CONFIG_IOAPIC)
#if defined(CONFIG_IOAPIC) || defined(CONFIG_MVIC)
ioapic_mkstub wdt_dw wdt_dw_isr 0
#endif /* CONFIG_IOAPIC */
#endif