Re: [PATCH 01/15] gpio: Disable functions not used with of-platdata

2021-01-21 Thread Patrick DELAUNAY
Hi Simon, On 1/15/21 3:04 PM, Simon Glass wrote: These functions use devicetree and cannot wprl with of-platdata, which has wprl no runtime devicetree. If they are used, the current linker error is confusing, since it talks about missing functions in the bowels of driver model. Avoid compi

Re: [PATCH 01/15] gpio: Disable functions not used with of-platdata

2021-01-18 Thread Pratyush Yadav
On 15/01/21 07:04AM, Simon Glass wrote: > These functions use devicetree and cannot wprl with of-platdata, which has Your right hand's offset is off by one ;-) > no runtime devicetree. > > If they are used, the current linker error is confusing, si

[PATCH 01/15] gpio: Disable functions not used with of-platdata

2021-01-15 Thread Simon Glass
These functions use devicetree and cannot wprl with of-platdata, which has no runtime devicetree. If they are used, the current linker error is confusing, since it talks about missing functions in the bowels of driver model. Avoid compiling these functions at all with of-platdata, so that a strai