Re: [PATCH 01/18] ARM: asm/pl080.h: Protect against multipleinclusion of header file

From: Linus Walleij
Date: Sat Jul 30 2011 - 18:16:42 EST


2011/7/29 Viresh Kumar <viresh.kumar@xxxxxx>:

> <asm/hardware/pl080.h> doesn't have protection to deal with multiple inclusion.
> And so we get compilation errors in cases where this file is included more than
> once. This patch adds #ifdefs at the top of file to protect it against multiple
> inclusions.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxx>

Good idea.
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/