Skip to content

Commit

Permalink
net/ethernet/freescale/fman: fix cross-build error
Browse files Browse the repository at this point in the history
  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 <rdunlap@infradead.org>
Cc: Madalin Bucur <madalin.bucur@nxp.com>
Cc: netdev@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Randy Dunlap authored and David S. Miller committed Jul 16, 2018
1 parent 916c5e1 commit c133459
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/fsl/guts.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#define __FSL_GUTS_H__

#include <linux/types.h>
#include <linux/io.h>

/**
* Global Utility Registers.
Expand Down

0 comments on commit c133459

Please sign in to comment.