.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2016-2017 Linaro Ltd., Rob Herring <robh@kernel.org> |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License version 2 and |
---|
6 | | - * only version 2 as published by the Free Software Foundation. |
---|
7 | | - * |
---|
8 | | - * This program is distributed in the hope that it will be useful, |
---|
9 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
10 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
11 | | - * GNU General Public License for more details. |
---|
12 | 4 | */ |
---|
13 | 5 | #ifndef _LINUX_SERDEV_H |
---|
14 | 6 | #define _LINUX_SERDEV_H |
---|
.. | .. |
---|
222 | 214 | int serdev_device_get_tiocm(struct serdev_device *); |
---|
223 | 215 | int serdev_device_set_tiocm(struct serdev_device *, int, int); |
---|
224 | 216 | void serdev_device_write_wakeup(struct serdev_device *); |
---|
225 | | -int serdev_device_write(struct serdev_device *, const unsigned char *, size_t, unsigned long); |
---|
| 217 | +int serdev_device_write(struct serdev_device *, const unsigned char *, size_t, long); |
---|
226 | 218 | void serdev_device_write_flush(struct serdev_device *); |
---|
227 | 219 | int serdev_device_write_room(struct serdev_device *); |
---|
228 | 220 | |
---|