Date: Thu, 8 Jan 2009 13:25:23 +0000 (UTC) From: Rafal Jaworowski <raj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186901 - head/sys/arm/mv Message-ID: <200901081325.n08DPNCi023654@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: raj Date: Thu Jan 8 13:25:22 2009 New Revision: 186901 URL: http://svn.freebsd.org/changeset/base/186901 Log: Minor style(9) corrections. Modified: head/sys/arm/mv/gpio.c Modified: head/sys/arm/mv/gpio.c ============================================================================== --- head/sys/arm/mv/gpio.c Thu Jan 8 13:24:25 2009 (r186900) +++ head/sys/arm/mv/gpio.c Thu Jan 8 13:25:22 2009 (r186901) @@ -113,8 +113,8 @@ mv_gpio_probe(device_t dev) static int mv_gpio_attach(device_t dev) { - int error, i; - struct mv_gpio_softc *sc; + int error, i; + struct mv_gpio_softc *sc; uint32_t dev_id, rev_id; sc = (struct mv_gpio_softc *)device_get_softc(dev); @@ -219,7 +219,7 @@ mv_gpio_intr(void *arg) * GPIO interrupt handling */ -static struct intr_event *gpio_events[MV_GPIO_MAX_NPINS]; +static struct intr_event *gpio_events[MV_GPIO_MAX_NPINS]; int mv_gpio_setup_intrhandler(const char *name, driver_filter_t *filt, @@ -243,8 +243,8 @@ mv_gpio_setup_intrhandler(const char *na gpio_events[pin] = event; } - intr_event_add_handler(event, name, filt, hand, arg, intr_priority(flags), - flags, cookiep); + intr_event_add_handler(event, name, filt, hand, arg, + intr_priority(flags), flags, cookiep); return (0); } @@ -277,7 +277,7 @@ mv_gpio_intr_unmask(int pin) static void mv_gpio_intr_handler(int pin) { - struct intr_event *event; + struct intr_event *event; event = gpio_events[pin]; if (event == NULL || TAILQ_EMPTY(&event->ie_handlers))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901081325.n08DPNCi023654>