Deleted Added
full compact
gpiobus.c (265191) gpiobus.c (265289)
1/*-
2 * Copyright (c) 2009 Oleksandr Tymoshenko <gonzo@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2009 Oleksandr Tymoshenko <gonzo@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/dev/gpio/gpiobus.c 265191 2014-05-01 14:09:47Z loos $");
28__FBSDID("$FreeBSD: head/sys/dev/gpio/gpiobus.c 265289 2014-05-03 20:33:00Z loos $");
29
30#include <sys/param.h>
29
30#include <sys/param.h>
31#include <sys/systm.h>
31#include <sys/bus.h>
32#include <sys/bus.h>
32#include <sys/gpio.h>
33#include <sys/kernel.h>
34#include <sys/malloc.h>
35#include <sys/module.h>
33#include <sys/kernel.h>
34#include <sys/malloc.h>
35#include <sys/module.h>
36#include <sys/systm.h>
37#include <sys/types.h>
38
39#include <dev/gpio/gpiobusvar.h>
40
41#include "gpio_if.h"
42#include "gpiobus_if.h"
43
44static int gpiobus_parse_pins(struct gpiobus_softc *, device_t, int);
45static int gpiobus_probe(device_t);

--- 444 unchanged lines hidden ---
36
37#include <dev/gpio/gpiobusvar.h>
38
39#include "gpio_if.h"
40#include "gpiobus_if.h"
41
42static int gpiobus_parse_pins(struct gpiobus_softc *, device_t, int);
43static int gpiobus_probe(device_t);

--- 444 unchanged lines hidden ---