diff options
author | Randy Dunlap <[email protected]> | 2018-07-13 21:25:19 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-07-16 14:02:45 -0700 |
commit | c133459765fae249ba482f62e12f987aec4376f0 (patch) | |
tree | a300914f6400633da49a7d46ec331ae8fc898b52 | |
parent | 916c5e1413be058d1c1f6e502db350df890730ce (diff) |
net/ethernet/freescale/fman: fix cross-build error
CC [M] drivers/net/ethernet/freescale/fman/fman.o
In file included from ../drivers/net/ethernet/freescale/fman/fman.c:35:
../include/linux/fsl/guts.h: In function 'guts_set_dmacr':
../include/linux/fsl/guts.h:165:2: error: implicit declaration of function 'clrsetbits_be32' [-Werror=implicit-function-declaration]
clrsetbits_be32(&guts->dmacr, 3 << shift, device << shift);
^~~~~~~~~~~~~~~
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Madalin Bucur <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>
-rw-r--r-- | include/linux/fsl/guts.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fsl/guts.h b/include/linux/fsl/guts.h index 3efa3b861d44..941b11811f85 100644 --- a/include/linux/fsl/guts.h +++ b/include/linux/fsl/guts.h @@ -16,6 +16,7 @@ #define __FSL_GUTS_H__ #include <linux/types.h> +#include <linux/io.h> /** * Global Utility Registers. |