Re: [PATCH] PM / sleep: define inline functions

2015-12-17 Thread Eric Anholt
"Rafael J. Wysocki" writes: > On Wednesday, December 16, 2015 04:41:37 PM Eric Anholt wrote: >> >> --=-=-= >> Content-Type: text/plain >> >> Sudip Mukherjee writes: >> >> > If CONFIG_PM_SLEEP is not defined then the functions are defined as >> > NULL. And as a result we are getting build

Re: [PATCH] PM / sleep: define inline functions

2015-12-17 Thread Eric Anholt
"Rafael J. Wysocki" writes: > On Wednesday, December 16, 2015 04:41:37 PM Eric Anholt wrote: >> >> --=-=-= >> Content-Type: text/plain >> >> Sudip Mukherjee writes: >> >> > If CONFIG_PM_SLEEP is not defined then the functions are defined as >>

Re: [PATCH] PM / sleep: define inline functions

2015-12-16 Thread Sudip Mukherjee
On Thu, Dec 17, 2015 at 02:43:38AM +0100, Rafael J. Wysocki wrote: > On Wednesday, December 16, 2015 04:41:37 PM Eric Anholt wrote: > > > > --=-=-= > > Content-Type: text/plain > > > > Sudip Mukherjee writes: > > > > > If CONFIG_PM_SLEEP is not defined then the functions are defined as > > >

Re: [PATCH] PM / sleep: define inline functions

2015-12-16 Thread Rafael J. Wysocki
On Wednesday, December 16, 2015 04:41:37 PM Eric Anholt wrote: > > --=-=-= > Content-Type: text/plain > > Sudip Mukherjee writes: > > > If CONFIG_PM_SLEEP is not defined then the functions are defined as > > NULL. And as a result we are getting build failure with > > alpha allmodconfig with

Re: [PATCH] PM / sleep: define inline functions

2015-12-16 Thread Eric Anholt
Sudip Mukherjee writes: > If CONFIG_PM_SLEEP is not defined then the functions are defined as > NULL. And as a result we are getting build failure with > alpha allmodconfig with the error: > > drivers/gpu/drm/vc4/vc4_v3d.c: In function 'vc4_v3d_set_power': > include/linux/stddef.h:7:14: error:

[PATCH] PM / sleep: define inline functions

2015-12-16 Thread Sudip Mukherjee
If CONFIG_PM_SLEEP is not defined then the functions are defined as NULL. And as a result we are getting build failure with alpha allmodconfig with the error: drivers/gpu/drm/vc4/vc4_v3d.c: In function 'vc4_v3d_set_power': include/linux/stddef.h:7:14: error: called object is not a function or

Re: [PATCH] PM / sleep: define inline functions

2015-12-16 Thread Rafael J. Wysocki
On Wednesday, December 16, 2015 04:41:37 PM Eric Anholt wrote: > > --=-=-= > Content-Type: text/plain > > Sudip Mukherjee writes: > > > If CONFIG_PM_SLEEP is not defined then the functions are defined as > > NULL. And as a result we are getting build failure with >

Re: [PATCH] PM / sleep: define inline functions

2015-12-16 Thread Eric Anholt
Sudip Mukherjee writes: > If CONFIG_PM_SLEEP is not defined then the functions are defined as > NULL. And as a result we are getting build failure with > alpha allmodconfig with the error: > > drivers/gpu/drm/vc4/vc4_v3d.c: In function 'vc4_v3d_set_power': >

Re: [PATCH] PM / sleep: define inline functions

2015-12-16 Thread Sudip Mukherjee
On Thu, Dec 17, 2015 at 02:43:38AM +0100, Rafael J. Wysocki wrote: > On Wednesday, December 16, 2015 04:41:37 PM Eric Anholt wrote: > > > > --=-=-= > > Content-Type: text/plain > > > > Sudip Mukherjee writes: > > > > > If CONFIG_PM_SLEEP is not defined then the

[PATCH] PM / sleep: define inline functions

2015-12-16 Thread Sudip Mukherjee
If CONFIG_PM_SLEEP is not defined then the functions are defined as NULL. And as a result we are getting build failure with alpha allmodconfig with the error: drivers/gpu/drm/vc4/vc4_v3d.c: In function 'vc4_v3d_set_power': include/linux/stddef.h:7:14: error: called object is not a function or