Re: [PATCH/RFC] MTD: Striping layer core

Alexander Belyakov
2006-03-31T08:11:53Z

Artem B. Bityutskiy wrote:
> Just in general, the
>
> #ifdef EPRST
> #include <elki-palki.h>
> #endif
>
> is not very nice. It is nicer to add the #ifdef protection in the
> header itself. This is not a major problem, but it is just nicer and
> Linux people like this. Just incapsulate all the protection in the
> header itself. Don't spread the protection over many .c files which
> may potentially want to include your header.
>
I followed the already existing example for partitions.h in the same
mphysmap.c file. Just thought it's OK. I'll try to fix that, thanks.

Alexander Belyakov