summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c
index 3d0ff977da..f4402d5617 100644
--- a/firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c
+++ b/firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c
@@ -28,7 +28,7 @@
28/* Gigabeat S definitions for static GPIO event registration */ 28/* Gigabeat S definitions for static GPIO event registration */
29 29
30/* Describes single events for each GPIO1 pin */ 30/* Describes single events for each GPIO1 pin */
31static const struct gpio_event gpio1_events[] = 31const struct gpio_event gpio1_events[] =
32{ 32{
33 /* mc13783 keeps the PRIINT high (no low pulse) if other unmasked 33 /* mc13783 keeps the PRIINT high (no low pulse) if other unmasked
34 * interrupts become active when clearing them or if a source being 34 * interrupts become active when clearing them or if a source being
@@ -41,11 +41,3 @@ static const struct gpio_event gpio1_events[] =
41 .callback = mc13783_event, 41 .callback = mc13783_event,
42 } 42 }
43}; 43};
44
45/* Describes the events attached to GPIO1 port */
46const struct gpio_event_list gpio1_event_list =
47{
48 .ints_priority = INT_PRIO_DEFAULT,
49 .count = ARRAYLEN(gpio1_events),
50 .events = gpio1_events,
51};