layerscape: add patches-5.4
[openwrt/staging/stintel.git] / target / linux / layerscape / patches-5.4 / 701-net-0335-net-tsn-fix-headfile-voliates-the-new-rule.patch
1 From 6e9f130a3be14a92a16b2332f6c92f873ebb8af5 Mon Sep 17 00:00:00 2001
2 From: Dong Aisheng <aisheng.dong@nxp.com>
3 Date: Tue, 3 Sep 2019 15:57:49 +0800
4 Subject: [PATCH] net: tsn: fix headfile voliates the new rule
5
6 After commit
7 622445541b75 ("kbuild: detect missing "WITH Linux-syscall-note" for uapi headers")
8 the headfile must explicitly include "WITH Linux-syscall-note".
9
10 Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
11 ---
12 include/uapi/linux/tsn.h | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 --- a/include/uapi/linux/tsn.h
16 +++ b/include/uapi/linux/tsn.h
17 @@ -1,4 +1,4 @@
18 -/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
19 +/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) WITH Linux-syscall-note */
20 /* Copyright 2017-2019 NXP */
21
22 #ifndef __UAPI_GENL_TSN_H