]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net/ethernet/freescale/fman: fix cross-build error
authorRandy Dunlap <rdunlap@infradead.org>
Sat, 14 Jul 2018 04:25:19 +0000 (21:25 -0700)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:43:43 +0000 (19:43 -0600)
commitc1a6cca4939018ddb3b27f13b731c9a16a46cbb4
treef3a4337e7cb8661bdc0b3cd3f27f09e405a90eb0
parenta8ce5478bc2fbeea2689507ed454dbe558a75b9a
net/ethernet/freescale/fman: fix cross-build error

BugLink: https://bugs.launchpad.net/bugs/1835845
[ Upstream commit c133459765fae249ba482f62e12f987aec4376f0 ]

  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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
include/linux/fsl/guts.h