[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160323155243.D408161506@smtp.codeaurora.org>
Date: Wed, 23 Mar 2016 15:52:43 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Rafał Miłecki <zajec5@...il.com>,
Arnd Bergmann <arnd@...db.de>,
Hauke Mehrtens <hauke@...ke-m.de>,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [1/2] bcma: fix building without OF_IRQ
> The bcma driver core can be built with or without DT support, but
> it fails to build when CONFIG_OF=y and CONFIG_OF_IRQ=n, which
> can happen on platforms that do not support IRQ domains.
>
> ERROR: "irq_create_of_mapping" [drivers/bcma/bcma.ko] undefined!
> ERROR: "of_irq_parse_raw" [drivers/bcma/bcma.ko] undefined!
> ERROR: "of_irq_parse_one" [drivers/bcma/bcma.ko] undefined!
>
> This adds another compile-time check for OF_IRQ, but also
> gets rid of now unneeded #ifdef checks: Using the simpler
> IS_ENABLED() check for OF_IRQ also covers the case of not
> having CONFIG_OF enabled. The check for CONFIG_OF_ADDRESS
> was added to allow building on architectures without
> OF_ADDRESS, but that has been addressed already in
> b1d06b60e90c ("of: Provide static inline function for
> of_translate_address if needed").
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Thanks, applied to wireless-drivers.git.
Kalle Valo
Powered by blists - more mailing lists