Re: [PATCH] hwrng: exynos - add CONFIG_PM_RUNTIME to suspend/resume functions

2013-03-22 Thread Herbert Xu
On Fri, Mar 22, 2013 at 02:38:53AM -0700, David Rientjes wrote: > On Fri, 22 Mar 2013, Jingoo Han wrote: > > > Add CONFIG_PM_RUNTIME to suspend/resume functions to fix the build > > error. It is because UNIVERSAL_DEV_PM_OPS macro is related to both > > CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME. > > >

Re: [PATCH] hwrng: exynos - add CONFIG_PM_RUNTIME to suspend/resume functions

2013-03-22 Thread David Rientjes
On Fri, 22 Mar 2013, Jingoo Han wrote: > Add CONFIG_PM_RUNTIME to suspend/resume functions to fix the build > error. It is because UNIVERSAL_DEV_PM_OPS macro is related to both > CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME. > > drivers/char/hw_random/exynos-rng.c:167:8: error: > 'exynos_rng_runtime_su

[PATCH] hwrng: exynos - add CONFIG_PM_RUNTIME to suspend/resume functions

2013-03-21 Thread Jingoo Han
Add CONFIG_PM_RUNTIME to suspend/resume functions to fix the build error. It is because UNIVERSAL_DEV_PM_OPS macro is related to both CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME. drivers/char/hw_random/exynos-rng.c:167:8: error: 'exynos_rng_runtime_suspend' undeclared here (not in a function) drivers/c