]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
bcma: drop unneeded check for CONFIG_OF_IRQ
authorRafał Miłecki <rafal@milecki.pl>
Fri, 3 Mar 2017 10:33:30 +0000 (11:33 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 20 Mar 2017 17:11:11 +0000 (19:11 +0200)
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>
drivers/bcma/main.c

index 12da68ec48baa751d78899e89ac7da2e60f197f7..8957137fc3689185923a05211f722a67e40f2ab0 100644 (file)
@@ -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;