[RFC/PATCH 4/8] LPDDR QINFO records definitions

Alexey Korolev akorolev at infradead.org
Tue Oct 14 09:03:45 EDT 2008


Hi
> > 
> > --- /dev/null
> > +++ b/include/linux/mtd/qinfo.h
> > @@ -0,0 +1,91 @@
> > +#include <linux/mtd/map.h>
> > +#include <linux/wait.h>
> > +#include <linux/spinlock.h>
> > +#include <linux/delay.h>
> > +#include <linux/mtd/mtd.h>
> > +#include <linux/mtd/flashchip.h>
> > +#include <linux/mtd/partitions.h>
> > +
> > +#ifndef __LINUX_MTD_QINFO_H
> > +#define __LINUX_MTD_QINFO_H
> 
> GCC does magic optimisations to avoid looking at include files for a
> second time -- but only if your include guard is around the _whole_
> file, iirc. So it's best to move those #includes down below the 
> #ifndef __LINUX_MTD_QINFO_H
>
Correct, it seems I missed this. Thank you for notice. It will be fixed.

Thanks,
Alexey



More information about the linux-mtd mailing list