Skip to content

Commit

Permalink
bcma: fix compile error
Browse files Browse the repository at this point in the history
This error was introduced in:
commit e3f05a4
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>
  • Loading branch information
hauke authored and linvjw committed Jan 11, 2013
1 parent aad12ed commit 1a2d503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/bcma/driver_mips.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ void bcma_core_mips_init(struct bcma_drv_mips *mcore)
break;
default:
list_for_each_entry(core, &bus->cores, list) {
core->irq = bcma_core_irq(core);
core->irq = bcma_core_mips_irq(core) + 2;
}
bcma_err(bus,
"Unknown device (0x%x) found, can not configure IRQs\n",
Expand Down

0 comments on commit 1a2d503

Please sign in to comment.