Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48d19776 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Kalle Valo
Browse files

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 c58d900c ("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: default avatarRafał Miłecki <rafal@milecki.pl>
Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 74a7dfbc
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;