From d7ef2474120f2a009af139754f6d387c8e83c949 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 7 May 2010 10:53:19 +0000 Subject: 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 --- firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c') 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 @@ /* Gigabeat S definitions for static GPIO event registration */ /* Describes single events for each GPIO1 pin */ -static const struct gpio_event gpio1_events[] = +const struct gpio_event gpio1_events[] = { /* mc13783 keeps the PRIINT high (no low pulse) if other unmasked * interrupts become active when clearing them or if a source being @@ -41,11 +41,3 @@ static const struct gpio_event gpio1_events[] = .callback = mc13783_event, } }; - -/* Describes the events attached to GPIO1 port */ -const struct gpio_event_list gpio1_event_list = -{ - .ints_priority = INT_PRIO_DEFAULT, - .count = ARRAYLEN(gpio1_events), - .events = gpio1_events, -}; -- cgit v1.2.3