Fix up a few remaining incorrect CONFIG_GPIO_IRQ

This commit is contained in:
Gregory Nutt 2016-07-22 15:01:00 -06:00
parent 416aa99620
commit e77872057d
3 changed files with 4 additions and 4 deletions

View File

@ -108,7 +108,7 @@
* Port J: Pins 0-3 and 6-7
*/
#ifdef CONFIG_GPIO_IRQ
#ifdef CONFIG_HCS12_GPIOIRQ
/* To conserve space, interrupts must also be configured, port by port */
@ -156,7 +156,7 @@
# endif
#else
# define HCS12_IRQ_NIRQS HCS12_IRQ_NVECTORS
#endif /* CONFIG_GPIO_IRQ */
#endif /* CONFIG_HCS12_GPIOIRQ */
#define HCS12_IRQ_VILLEGAL HCS12_IRQ_NIRQS /* Any reserved vector */
#define NR_IRQS (HCS12_IRQ_NIRQS+1)

View File

@ -46,7 +46,7 @@
#ifndef __ASSEMBLY__
# include <stdint.h>
# ifdef CONFIG_GPIO_IRQ
# ifdef CONFIG_SAM34_GPIO_IRQ
# include <arch/irq.h>
# endif
#endif

View File

@ -44,7 +44,7 @@
#ifndef __ASSEMBLY__
# include <stdint.h>
# ifdef CONFIG_SAM34_SAM34_GPIO_IRQ
# ifdef CONFIG_SAM34_GPIO_IRQ
# include <arch/irq.h>
# endif
#endif