Skip to content

Commit 2264fc8

Browse files
rmileckiKalle Valo
authored and
Kalle Valo
committed
bcma: add missing includes
kbuild found out that commit 804e27d ("bcma: support bringing up bus hosted on PCIe Gen 2") broke the build on m68k: drivers/bcma/driver_pcie2.c: In function 'bcma_core_pcie2_up': >> drivers/bcma/driver_pcie2.c:196:2: error: implicit declaration of function 'pcie_set_readrq' [-Werror\ =implicit-function-declaration] err = pcie_set_readrq(dev, pcie2->reqsize); ^ cc1: some warnings being treated as errors Reported-by: kbuild test robot <[email protected]> Signed-off-by: Rafał Miłecki <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent 2f890ca commit 2264fc8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/bcma/driver_pci_host.c

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include "bcma_private.h"
1313
#include <linux/pci.h>
14+
#include <linux/slab.h>
1415
#include <linux/export.h>
1516
#include <linux/bcma/bcma.h>
1617
#include <asm/paccess.h>

drivers/bcma/driver_pcie2.c

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
#include "bcma_private.h"
1212
#include <linux/bcma/bcma.h>
13+
#include <linux/pci.h>
1314

1415
/**************************************************
1516
* R/W ops.

0 commit comments

Comments
 (0)