On Mon, Jun 19, 2023 at 08:52:44AM +0000, Charles Keepax wrote: > On Mon, Jun 19, 2023 at 09:30:05AM +0100, Lee Jones wrote: > > On Fri, 16 Jun 2023, Charles Keepax wrote: > > > On Thu, Jun 15, 2023 at 06:11:24PM +0100, Lee Jones wrote: > > > > On Mon, 05 Jun 2023, Charles Keepax wrote: > > Can you have a little think for another way to solve this please? > > > > I will have another go at it, if memory serves the vague options > were: > > 1) this approach > 2) some sort of horrible #include to put the defaults array in > both modules, although I would really prefer to avoid this one. > 3) dynamically allocate the regmap_configs so those two fields > can be filled in with non-static data. > > If I fail to come up with an option 4 would you prefer 1 or 3? > Well or 2 but I really would prefer not to do 2. > Well or just leave both in actually I guess perhaps that is simplest. Thanks, Charles