From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Villemoes Subject: [PATCH 2/4] asm-generic: Use different include guards Date: Thu, 8 Aug 2013 21:07:00 +0000 Message-ID: <1375996022-8298-3-git-send-email-linux@rasmusvillemoes.dk> References: <1375996022-8298-1-git-send-email-linux@rasmusvillemoes.dk> Return-path: In-Reply-To: <1375996022-8298-1-git-send-email-linux@rasmusvillemoes.dk> Sender: linux-kernel-owner@vger.kernel.org To: Arnd Bergmann , Roland McGrath , Oleg Nesterov Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Rasmus Villemoes List-Id: linux-arch.vger.kernel.org For consistency, use different include guards in include/asm-generic/dma-mapping-{broken,common}.h, even though it is unlikely (if not outright a bug) to ever include both. Signed-off-by: Rasmus Villemoes --- include/asm-generic/dma-mapping-broken.h | 6 +++--- include/asm-generic/dma-mapping-common.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/asm-generic/dma-mapping-broken.h b/include/asm-generic/dma-mapping-broken.h index 6c32af9..34621ea 100644 --- a/include/asm-generic/dma-mapping-broken.h +++ b/include/asm-generic/dma-mapping-broken.h @@ -1,5 +1,5 @@ -#ifndef _ASM_GENERIC_DMA_MAPPING_H -#define _ASM_GENERIC_DMA_MAPPING_H +#ifndef _ASM_GENERIC_DMA_MAPPING_BROKEN_H +#define _ASM_GENERIC_DMA_MAPPING_BROKEN_H /* define the dma api to allow compilation but not linking of * dma dependent code. Code that depends on the dma-mapping @@ -92,4 +92,4 @@ extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size, enum dma_data_direction direction); -#endif /* _ASM_GENERIC_DMA_MAPPING_H */ +#endif /* _ASM_GENERIC_DMA_MAPPING_BROKEN_H */ diff --git a/include/asm-generic/dma-mapping-common.h b/include/asm-generic/dma-mapping-common.h index de8bf89..2ae73e6 100644 --- a/include/asm-generic/dma-mapping-common.h +++ b/include/asm-generic/dma-mapping-common.h @@ -1,5 +1,5 @@ -#ifndef _ASM_GENERIC_DMA_MAPPING_H -#define _ASM_GENERIC_DMA_MAPPING_H +#ifndef _ASM_GENERIC_DMA_MAPPING_COMMON_H +#define _ASM_GENERIC_DMA_MAPPING_COMMON_H #include #include -- 1.7.9.5 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f172.google.com ([74.125.82.172]:43483 "EHLO mail-we0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966629Ab3HHVI1 (ORCPT ); Thu, 8 Aug 2013 17:08:27 -0400 Received: by mail-we0-f172.google.com with SMTP id t61so3010913wes.3 for ; Thu, 08 Aug 2013 14:08:26 -0700 (PDT) From: Rasmus Villemoes Subject: [PATCH 2/4] asm-generic: Use different include guards Date: Thu, 8 Aug 2013 21:07:00 +0000 Message-ID: <1375996022-8298-3-git-send-email-linux@rasmusvillemoes.dk> In-Reply-To: <1375996022-8298-1-git-send-email-linux@rasmusvillemoes.dk> References: <1375996022-8298-1-git-send-email-linux@rasmusvillemoes.dk> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Arnd Bergmann , Roland McGrath , Oleg Nesterov Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Rasmus Villemoes Message-ID: <20130808210700.sXF8Xxse6GXZrLRYBPJ4406dxGWADlEtxYan8oWs4S8@z> For consistency, use different include guards in include/asm-generic/dma-mapping-{broken,common}.h, even though it is unlikely (if not outright a bug) to ever include both. Signed-off-by: Rasmus Villemoes --- include/asm-generic/dma-mapping-broken.h | 6 +++--- include/asm-generic/dma-mapping-common.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/asm-generic/dma-mapping-broken.h b/include/asm-generic/dma-mapping-broken.h index 6c32af9..34621ea 100644 --- a/include/asm-generic/dma-mapping-broken.h +++ b/include/asm-generic/dma-mapping-broken.h @@ -1,5 +1,5 @@ -#ifndef _ASM_GENERIC_DMA_MAPPING_H -#define _ASM_GENERIC_DMA_MAPPING_H +#ifndef _ASM_GENERIC_DMA_MAPPING_BROKEN_H +#define _ASM_GENERIC_DMA_MAPPING_BROKEN_H /* define the dma api to allow compilation but not linking of * dma dependent code. Code that depends on the dma-mapping @@ -92,4 +92,4 @@ extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size, enum dma_data_direction direction); -#endif /* _ASM_GENERIC_DMA_MAPPING_H */ +#endif /* _ASM_GENERIC_DMA_MAPPING_BROKEN_H */ diff --git a/include/asm-generic/dma-mapping-common.h b/include/asm-generic/dma-mapping-common.h index de8bf89..2ae73e6 100644 --- a/include/asm-generic/dma-mapping-common.h +++ b/include/asm-generic/dma-mapping-common.h @@ -1,5 +1,5 @@ -#ifndef _ASM_GENERIC_DMA_MAPPING_H -#define _ASM_GENERIC_DMA_MAPPING_H +#ifndef _ASM_GENERIC_DMA_MAPPING_COMMON_H +#define _ASM_GENERIC_DMA_MAPPING_COMMON_H #include #include -- 1.7.9.5