]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.4.152/net-ethernet-freescale-fman-fix-cross-build-error.patch
Linux 4.4.152
[thirdparty/kernel/stable-queue.git] / releases / 4.4.152 / net-ethernet-freescale-fman-fix-cross-build-error.patch
1 From foo@baz Wed Aug 22 10:28:26 CEST 2018
2 From: Randy Dunlap <rdunlap@infradead.org>
3 Date: Fri, 13 Jul 2018 21:25:19 -0700
4 Subject: net/ethernet/freescale/fman: fix cross-build error
5
6 From: Randy Dunlap <rdunlap@infradead.org>
7
8 [ Upstream commit c133459765fae249ba482f62e12f987aec4376f0 ]
9
10 CC [M] drivers/net/ethernet/freescale/fman/fman.o
11 In file included from ../drivers/net/ethernet/freescale/fman/fman.c:35:
12 ../include/linux/fsl/guts.h: In function 'guts_set_dmacr':
13 ../include/linux/fsl/guts.h:165:2: error: implicit declaration of function 'clrsetbits_be32' [-Werror=implicit-function-declaration]
14 clrsetbits_be32(&guts->dmacr, 3 << shift, device << shift);
15 ^~~~~~~~~~~~~~~
16
17 Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
18 Cc: Madalin Bucur <madalin.bucur@nxp.com>
19 Cc: netdev@vger.kernel.org
20 Cc: linuxppc-dev@lists.ozlabs.org
21 Signed-off-by: David S. Miller <davem@davemloft.net>
22 Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
23 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
24 ---
25 include/linux/fsl/guts.h | 1 +
26 1 file changed, 1 insertion(+)
27
28 --- a/include/linux/fsl/guts.h
29 +++ b/include/linux/fsl/guts.h
30 @@ -16,6 +16,7 @@
31 #define __FSL_GUTS_H__
32
33 #include <linux/types.h>
34 +#include <linux/io.h>
35
36 /**
37 * Global Utility Registers.