diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-05-07 10:53:19 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-05-07 10:53:19 +0000 |
commit | d7ef2474120f2a009af139754f6d387c8e83c949 (patch) | |
tree | 7b63172498900d1c63c238fd256e532b23dd411e /firmware/target/arm/imx31/gigabeat-s/gpio-target.h | |
parent | 235fc05e3be7508c310cfd2ff5151d30b78be971 (diff) |
i.MX31/Gigabeat S minor cleaning: Make HW access more obvious in places I forgot to do earlier. Reduce the number of structs that need to be filled-out for some drivers just to simplify a little. Change some types.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25870 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/gpio-target.h')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/gpio-target.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/gpio-target.h b/firmware/target/arm/imx31/gigabeat-s/gpio-target.h index 0c213611ff..2eea27c3be 100644 --- a/firmware/target/arm/imx31/gigabeat-s/gpio-target.h +++ b/firmware/target/arm/imx31/gigabeat-s/gpio-target.h @@ -29,11 +29,14 @@ #define MC13783_GPIO_ISR GPIO1_ISR #define MC13783_GPIO_LINE 31 +#define GPIO1_INT_PRIO INT_PRIO_DEFAULT + /* Declare event indexes in priority order in a packed array */ enum gpio_event_ids { /* GPIO1 event IDs */ MC13783_EVENT_ID = GPIO1_EVENT_FIRST, + GPIO1_NUM_EVENTS = 1, /* GPIO2 event IDs */ /* none defined */ /* GPIO3 event IDs */ |