aboutsummaryrefslogtreecommitdiffstats
path: root/src/sam3x8e/gpio.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-02-14 22:39:43 -0500
committerKevin O'Connor <kevin@koconnor.net>2017-02-19 11:00:46 -0500
commit38e9484f9ffabd98962a00bb4403261f0c58b1ab (patch)
tree4fa8cc453403d86b077d3d333d60a9325b349c94 /src/sam3x8e/gpio.c
parentfec12030a9c63490ef357e71e2430133a64bbe34 (diff)
downloadkutter-38e9484f9ffabd98962a00bb4403261f0c58b1ab.tar.gz
kutter-38e9484f9ffabd98962a00bb4403261f0c58b1ab.tar.xz
kutter-38e9484f9ffabd98962a00bb4403261f0c58b1ab.zip
armcm_irq: Move ARM Cortex-M irq handling to new file
The irq handling in sam3x8e isn't specific to the sam3x8e proccessor - it's generic for all armcm type machines. So, move the definitions into a new file generic/armcm-irq.c Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sam3x8e/gpio.c')
-rw-r--r--src/sam3x8e/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sam3x8e/gpio.c b/src/sam3x8e/gpio.c
index ab7853c2..9b88a0ce 100644
--- a/src/sam3x8e/gpio.c
+++ b/src/sam3x8e/gpio.c
@@ -6,10 +6,10 @@
#include <stdint.h> // uint32_t
#include "autoconf.h" // CONFIG_CLOCK_FREQ
+#include "board/irq.h" // irq_save
#include "command.h" // shutdown
#include "compiler.h" // ARRAY_SIZE
#include "gpio.h" // gpio_out_setup
-#include "irq.h" // irq_save
#include "sam3x8e.h" // Pio
#include "sched.h" // sched_shutdown