From: Robert Jarzmik <robert.jarzmik@xxxxxxxxxxxxxx> Add protection against multiple includes of pxafb.h Signed-off-by: Robert Jarzmik <robert.jarzmik@xxxxxxx> --- arch/arm/mach-pxa/include/mach/pxafb.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-pxa/include/mach/pxafb.h b/arch/arm/mach-pxa/include/mach/pxafb.h index a652647..1730fbf 100644 --- a/arch/arm/mach-pxa/include/mach/pxafb.h +++ b/arch/arm/mach-pxa/include/mach/pxafb.h @@ -1,6 +1,8 @@ /* * This structure describes the machine which we are running on. */ +#ifndef _PXAFB_ +#define _PXAFB_ #include <fb.h> @@ -75,3 +77,4 @@ struct pxafb_platform_data { * @file * @brief PXA related framebuffer declarations */ +#endif -- 1.7.5.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox