[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161217.214739.440356560135251249.davem@davemloft.net>
Date: Sat, 17 Dec 2016 21:47:39 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sudipm.mukherjee@...il.com
Cc: sebastian.hesselbarth@...il.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH] net: mv643xx_eth: fix build failure
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
Date: Sat, 17 Dec 2016 00:45:05 +0000
> The build of sparc allmodconfig fails with the error:
> "of_irq_to_resource" [drivers/net/ethernet/marvell/mv643xx_eth.ko]
> undefined!
>
> of_irq_to_resource() is defined when CONFIG_OF_IRQ is defined. And also
> CONFIG_OF_IRQ can only be defined if CONFIG_IRQ is defined. So we can
> safely use #if defined(CONFIG_OF_IRQ) in the code.
>
> Signed-off-by: Sudip Mukherjee <sudip.mukherjee@...ethink.co.uk>
Applied, thanks.
Powered by blists - more mailing lists