[PATCH] init.h: introduce fake define (__init & __initdata) to simplify the linux sync
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Wed Aug 4 06:24:02 EDT 2010
> >
> > +/*
> > + * fake define to simplify the linux sync
> > + */
> > +#define __init
> > +#define __initdata
> > +
>
> IMO, having useless __init/__initdata in the code adds noise, and reduces
> readability. These can be easily removed as code gets moved from Linux to
> Barebox.
but make impossible to apply patch directly or very quickly update the code
so this will make the job of maintainance easier
Best Regards,
J.
More information about the barebox
mailing list