diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-01-10 11:52:38 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-11 14:49:59 -0500 |
commit | 1a2d50329832c4b5c77be569f20eec303a0d07b8 (patch) | |
tree | 0a1eded37e65166a00461e26691a6eac8d890974 | |
parent | aad12ede97d62b290ac03f0077d05b999bbddd05 (diff) |
bcma: fix compile error
This error was introduced in:
commit e3f05a42faac627d8704c76c1927e09b22443b7b
Author: Hauke Mehrtens <hauke@hauke-m.de>
Date: Fri Jan 4 00:51:21 2013 +0100
bcma: mips: explicit assign IRQ numbers
CC drivers/bcma/driver_mips.o
drivers/bcma/driver_mips.c: In function 'bcma_core_mips_init':
drivers/bcma/driver_mips.c:302:4: error: implicit declaration of
function 'bcma_core_irq' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[6]: *** [drivers/bcma/driver_mips.o] Error 1
Reported-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/bcma/driver_mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bcma/driver_mips.c b/drivers/bcma/driver_mips.c index 8a51c7950536..90f20a247725 100644 --- a/drivers/bcma/driver_mips.c +++ b/drivers/bcma/driver_mips.c | |||
@@ -299,7 +299,7 @@ void bcma_core_mips_init(struct bcma_drv_mips *mcore) | |||
299 | break; | 299 | break; |
300 | default: | 300 | default: |
301 | list_for_each_entry(core, &bus->cores, list) { | 301 | list_for_each_entry(core, &bus->cores, list) { |
302 | core->irq = bcma_core_irq(core); | 302 | core->irq = bcma_core_mips_irq(core) + 2; |
303 | } | 303 | } |
304 | bcma_err(bus, | 304 | bcma_err(bus, |
305 | "Unknown device (0x%x) found, can not configure IRQs\n", | 305 | "Unknown device (0x%x) found, can not configure IRQs\n", |