Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bcma: add missing includes

kbuild found out that commit 804e27dee49e ("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 <fengguang.wu@intel.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

authored by

Rafał Miłecki and committed by
Kalle Valo
2264fc85 2f890cab

+2
+1
drivers/bcma/driver_pci_host.c
··· 11 11 12 12 #include "bcma_private.h" 13 13 #include <linux/pci.h> 14 + #include <linux/slab.h> 14 15 #include <linux/export.h> 15 16 #include <linux/bcma/bcma.h> 16 17 #include <asm/paccess.h>
+1
drivers/bcma/driver_pcie2.c
··· 10 10 11 11 #include "bcma_private.h" 12 12 #include <linux/bcma/bcma.h> 13 + #include <linux/pci.h> 13 14 14 15 /************************************************** 15 16 * R/W ops.