Re: [PATCH] of: fix build failure

2015-12-06 Thread Sudip Mukherjee
On Sat, Dec 05, 2015 at 12:09:41PM +0100, Geert Uytterhoeven wrote: > Hi Sudip > > On Thu, Dec 3, 2015 at 9:38 AM, Sudip Mukherjee > wrote: > > We are having build failure with next-20151202 for sparc allmodconfig > > with the error messages: > > undefined reference to 'of_io_request_and_map' > >

Re: [PATCH] of: fix build failure

2015-12-05 Thread Geert Uytterhoeven
Hi Sudip On Thu, Dec 3, 2015 at 9:38 AM, Sudip Mukherjee wrote: > We are having build failure with next-20151202 for sparc allmodconfig > with the error messages: > undefined reference to 'of_io_request_and_map' > > CONFIG_OF is defined for sparc so it is expected that we have a > definition of o

[PATCH] of: fix build failure

2015-12-03 Thread Sudip Mukherjee
We are having build failure with next-20151202 for sparc allmodconfig with the error messages: undefined reference to 'of_io_request_and_map' CONFIG_OF is defined for sparc so it is expected that we have a definition of of_io_request_and_map() but of/address.c is only compiled if it is !SPARC. Si