diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-03-03 13:33:30 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-03-20 20:11:11 +0300 |
commit | 48d1977655341f1e004beb81eda8e93316c55963 (patch) | |
tree | f418601d573822bc62287c4e5beaea0767d3d0e8 /drivers/bcma | |
parent | 74a7dfbcc64986504dbf9f5f7c7cca521db4d230 (diff) | |
download | linux-48d1977655341f1e004beb81eda8e93316c55963.tar.xz |
bcma: drop unneeded check for CONFIG_OF_IRQ
We already have the same check in bcma_of_get_irq which really calls
symbols available with CONFIG_OF_IRQ only. It appears this duplicated
check was accidentally added in commit c58d900cc96a ("bcma: fix building
without OF_IRQ"). The rest of code in bcma_of_fill_device should work
fine without CONFIG_OF_IRQ.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/bcma')
-rw-r--r-- | drivers/bcma/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c index 12da68ec48ba..8957137fc368 100644 --- a/drivers/bcma/main.c +++ b/drivers/bcma/main.c @@ -201,9 +201,6 @@ static void bcma_of_fill_device(struct device *parent, { struct device_node *node; - if (!IS_ENABLED(CONFIG_OF_IRQ)) - return; - node = bcma_of_find_child_device(parent, core); if (node) core->dev.of_node = node; |