Skip to content

Commit c133459

Browse files
rddunlapdavem330
authored andcommitted
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]>
1 parent 916c5e1 commit c133459

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/fsl/guts.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#define __FSL_GUTS_H__
1717

1818
#include <linux/types.h>
19+
#include <linux/io.h>
1920

2021
/**
2122
* Global Utility Registers.

0 commit comments

Comments
 (0)