Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/omap Allow obio_intr == OBIOCF_INTR_DEFAULT.
details: https://anonhg.NetBSD.org/src/rev/d33e6376a610
branches: trunk
changeset: 348427:d33e6376a610
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Tue Oct 18 14:02:48 2016 +0000
description:
Allow obio_intr == OBIOCF_INTR_DEFAULT.
diffstat:
sys/arch/arm/omap/omap2_gpio.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 0317f7e0048c -r d33e6376a610 sys/arch/arm/omap/omap2_gpio.c
--- a/sys/arch/arm/omap/omap2_gpio.c Tue Oct 18 13:58:52 2016 +0000
+++ b/sys/arch/arm/omap/omap2_gpio.c Tue Oct 18 14:02:48 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omap2_gpio.c,v 1.19 2016/10/15 15:11:56 kiyohara Exp $ */
+/* $NetBSD: omap2_gpio.c,v 1.20 2016/10/18 14:02:48 kiyohara Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -28,7 +28,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap2_gpio.c,v 1.19 2016/10/15 15:11:56 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap2_gpio.c,v 1.20 2016/10/18 14:02:48 kiyohara Exp $");
#define _INTR_PRIVATE
@@ -489,9 +489,6 @@
gpio->gpio_dev = self;
- if (oa->obio_intr == OBIOCF_INTR_DEFAULT)
- panic("\n%s: no intr assigned", device_xname(self));
-
if (oa->obio_size == OBIOCF_SIZE_DEFAULT)
panic("\n%s: no size assigned", device_xname(self));
Home |
Main Index |
Thread Index |
Old Index