gpioc.c (99adbd1b3f3b2c198a8994c9681655978a7d9a1f) gpioc.c (ef9ffb8594eee294334ced627755bf5b46b48f9f)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2009 Oleksandr Tymoshenko <gonzo@freebsd.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

146 .d_open = gpioc_open,
147 .d_read = gpioc_read,
148 .d_ioctl = gpioc_ioctl,
149 .d_poll = gpioc_poll,
150 .d_kqfilter = gpioc_kqfilter,
151 .d_name = "gpioc",
152};
153
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2009 Oleksandr Tymoshenko <gonzo@freebsd.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

146 .d_open = gpioc_open,
147 .d_read = gpioc_read,
148 .d_ioctl = gpioc_ioctl,
149 .d_poll = gpioc_poll,
150 .d_kqfilter = gpioc_kqfilter,
151 .d_name = "gpioc",
152};
153
154static struct filterops gpioc_read_filterops = {
154static const struct filterops gpioc_read_filterops = {
155 .f_isfd = true,
156 .f_attach = NULL,
157 .f_detach = gpioc_kqdetach,
158 .f_event = gpioc_kqread,
159 .f_touch = NULL
160};
161
162static struct gpioc_pin_event *

--- 905 unchanged lines hidden ---
155 .f_isfd = true,
156 .f_attach = NULL,
157 .f_detach = gpioc_kqdetach,
158 .f_event = gpioc_kqread,
159 .f_touch = NULL
160};
161
162static struct gpioc_pin_event *

--- 905 unchanged lines hidden ---