diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-03-03 01:32:57 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-03-03 08:26:38 -0500 |
commit | 2264fc857decd45798368f46861d9aecac23546f (patch) | |
tree | c8a6d7d2c3ffd92d8b6daad45357bd786a944d89 /drivers/bcma | |
parent | 2f890caba6ddb8d72d485e94df74cfa7626ccb0f (diff) |
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>
Diffstat (limited to 'drivers/bcma')
-rw-r--r-- | drivers/bcma/driver_pci_host.c | 1 | ||||
-rw-r--r-- | drivers/bcma/driver_pcie2.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bcma/driver_pci_host.c b/drivers/bcma/driver_pci_host.c index c8a6b741967b..c42cec7c7ecc 100644 --- a/drivers/bcma/driver_pci_host.c +++ b/drivers/bcma/driver_pci_host.c | |||
@@ -11,6 +11,7 @@ | |||
11 | 11 | ||
12 | #include "bcma_private.h" | 12 | #include "bcma_private.h" |
13 | #include <linux/pci.h> | 13 | #include <linux/pci.h> |
14 | #include <linux/slab.h> | ||
14 | #include <linux/export.h> | 15 | #include <linux/export.h> |
15 | #include <linux/bcma/bcma.h> | 16 | #include <linux/bcma/bcma.h> |
16 | #include <asm/paccess.h> | 17 | #include <asm/paccess.h> |
diff --git a/drivers/bcma/driver_pcie2.c b/drivers/bcma/driver_pcie2.c index 4568bc7bd54a..b1a6e327cb23 100644 --- a/drivers/bcma/driver_pcie2.c +++ b/drivers/bcma/driver_pcie2.c | |||
@@ -10,6 +10,7 @@ | |||
10 | 10 | ||
11 | #include "bcma_private.h" | 11 | #include "bcma_private.h" |
12 | #include <linux/bcma/bcma.h> | 12 | #include <linux/bcma/bcma.h> |
13 | #include <linux/pci.h> | ||
13 | 14 | ||
14 | /************************************************** | 15 | /************************************************** |
15 | * R/W ops. | 16 | * R/W ops. |