On Sun, 13 Aug 2023 at 17:47, Marek Vasut <marek.vasut+rene...@mailbox.org> wrote: > > Move the macro into blk-uclass.c , since it is only used there. > > Signed-off-by: Marek Vasut <marek.vasut+rene...@mailbox.org> > --- > Cc: AKASHI Takahiro <takahiro.aka...@linaro.org> > Cc: Abdellatif El Khlifi <abdellatif.elkhl...@arm.com> > Cc: Bin Meng <bmeng...@gmail.com> > Cc: Heinrich Schuchardt <xypron.gl...@gmx.de> > Cc: Joshua Watt <jpewhac...@gmail.com> > Cc: Michal Suchanek <msucha...@suse.de> > Cc: Simon Glass <s...@chromium.org> > Cc: Tobias Waldekranz <tob...@waldekranz.com> > --- > drivers/block/blk-uclass.c | 2 ++ > include/blk.h | 2 -- > 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> Unfortunately this does not stop people using the ops member directly. For this series, I tried a patch myself [1] but I think I stuffed it up. So I will let Takahiro-San figure it out. I would very much like to see this clean-up go in. Regards, Simon [1] https://patchwork.ozlabs.org/project/uboot/patch/20230319192957.1084530-1-...@chromium.org/