]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
ARM: asm/pl080.h: Protect against multiple inclusion of header file
authorViresh Kumar <viresh.kumar@st.com>
Fri, 5 Aug 2011 10:02:26 +0000 (15:32 +0530)
committerVinod Koul <vinod.koul@intel.com>
Thu, 25 Aug 2011 14:03:37 +0000 (19:33 +0530)
commit47850a27306997be914dedcbca1dfce09fa4ef0a
tree28f6d78992ffe7d8a259f18ab55c38bce2b9d1aa
parentd7db80801f8117cf210b9e2cd2c800e326d59fa2
ARM: asm/pl080.h: Protect against multiple inclusion of header file

<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@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
arch/arm/include/asm/hardware/pl080.h