summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/samd
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-05-20 17:48:39 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-05-20 17:48:39 -0600
commitab4d04d81f8bb7f067190493b0e69a92f9e1a21d (patch)
tree7cf766fc04ff15d61235d40b1be876762d813874 /nuttx/arch/arm/src/samd
parente83378539e90cc6ad05140b38fe35d5f447b54ee (diff)
downloadnuttx-ab4d04d81f8bb7f067190493b0e69a92f9e1a21d.tar.gz
nuttx-ab4d04d81f8bb7f067190493b0e69a92f9e1a21d.tar.bz2
nuttx-ab4d04d81f8bb7f067190493b0e69a92f9e1a21d.zip
Make sure that all references to up_prioritize_irq() are conditioned on CONFIG_ARCH_IRQPRIO. Noted by Make Smith
Diffstat (limited to 'nuttx/arch/arm/src/samd')
-rw-r--r--nuttx/arch/arm/src/samd/Make.defs8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/samd/Make.defs b/nuttx/arch/arm/src/samd/Make.defs
index d1630b414..1dd26d643 100644
--- a/nuttx/arch/arm/src/samd/Make.defs
+++ b/nuttx/arch/arm/src/samd/Make.defs
@@ -76,10 +76,10 @@ ifeq ($(CONFIG_NUTTX_KERNEL),y)
CHIP_CSRCS += sam_userspace.c
endif
-ifeq ($(CONFIG_SAMD_HAVE_SPI),y)
-CHIP_CSRCS += sam_spi.c
-endif
-
ifeq ($(CONFIG_ARCH_IRQPRIO),y)
CHIP_CSRCS += sam_irqprio.c
endif
+
+ifeq ($(CONFIG_SAMD_HAVE_SPI),y)
+CHIP_CSRCS += sam_spi.c
+endif