Re: [PATCH 1/2] thermal/drivers/core: Add init section table for self-encapsulation

2019-06-27 Thread Daniel Lezcano
On 27/06/2019 15:21, Zhang Rui wrote: > On 一, 2019-06-24 at 09:32 +0200, Daniel Lezcano wrote: >> Any chance this patch gets merged for v5.4? >> >> Thanks >>   -- Daniel >> > > have you run compile test for the patch? > I got the following errors when compiling. Yes I did and also booted, changed

Re: [PATCH 1/2] thermal/drivers/core: Add init section table for self-encapsulation

2019-06-27 Thread Zhang Rui
On 一, 2019-06-24 at 09:32 +0200, Daniel Lezcano wrote: > Any chance this patch gets merged for v5.4? > > Thanks >   -- Daniel > have you run compile test for the patch? I got the following errors when compiling. In file included from drivers/thermal/fair_share.c:16:0: drivers/thermal/thermal_co

Re: [PATCH 1/2] thermal/drivers/core: Add init section table for self-encapsulation

2019-06-24 Thread Daniel Lezcano
Any chance this patch gets merged for v5.4? Thanks -- Daniel On 12/06/2019 22:13, Daniel Lezcano wrote: > Currently the governors are declared in their respective files but they > export their [un]register functions which in turn call the [un]register > governors core's functions. That implie

[PATCH 1/2] thermal/drivers/core: Add init section table for self-encapsulation

2019-06-12 Thread Daniel Lezcano
Currently the governors are declared in their respective files but they export their [un]register functions which in turn call the [un]register governors core's functions. That implies a cyclic dependency which is not desirable. There is a way to self-encapsulate the governors by letting them to de