hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/include/linux/serdev.h
....@@ -1,14 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * 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.
124 */
135 #ifndef _LINUX_SERDEV_H
146 #define _LINUX_SERDEV_H
....@@ -222,7 +214,7 @@
222214 int serdev_device_get_tiocm(struct serdev_device *);
223215 int serdev_device_set_tiocm(struct serdev_device *, int, int);
224216 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);
226218 void serdev_device_write_flush(struct serdev_device *);
227219 int serdev_device_write_room(struct serdev_device *);
228220