gpiobusvar.h (265012) | gpiobusvar.h (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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 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 * | 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 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 * $FreeBSD: head/sys/dev/gpio/gpiobusvar.h 265012 2014-04-27 12:11:00Z loos $ | 26 * $FreeBSD: head/sys/dev/gpio/gpiobusvar.h 265289 2014-05-03 20:33:00Z loos $ |
27 * 28 */ 29 30#ifndef __GPIOBUS_H__ 31#define __GPIOBUS_H__ 32 33#include "opt_platform.h" 34 | 27 * 28 */ 29 30#ifndef __GPIOBUS_H__ 31#define __GPIOBUS_H__ 32 33#include "opt_platform.h" 34 |
35#include <sys/param.h> | |
36#include <sys/lock.h> 37#include <sys/mutex.h> 38 39#ifdef FDT 40#include <dev/ofw/ofw_bus_subr.h> 41#endif 42 43#define GPIOBUS_IVAR(d) (struct gpiobus_ivar *) device_get_ivars(d) --- 39 unchanged lines hidden --- | 35#include <sys/lock.h> 36#include <sys/mutex.h> 37 38#ifdef FDT 39#include <dev/ofw/ofw_bus_subr.h> 40#endif 41 42#define GPIOBUS_IVAR(d) (struct gpiobus_ivar *) device_get_ivars(d) --- 39 unchanged lines hidden --- |