lkml.org 
[lkml]   [2013]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] include/asm-generic/iomap.h: trivial: use '__GENERIC_IOMAP_H' instead of '__GENERIC_IO_H'

Oh, sorry, need use '__ASM_GENERIC_IOMAP_H, instead.

I will send patch v2.


On 06/28/2013 10:31 AM, Chen Gang wrote:
> Recommend to let the header file macro mark match the file name.
>
> Signed-off-by: Chen Gang <gang.chen@asianux.com>
> ---
> include/asm-generic/iomap.h | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/include/asm-generic/iomap.h b/include/asm-generic/iomap.h
> index 6afd7d6..236c78c 100644
> --- a/include/asm-generic/iomap.h
> +++ b/include/asm-generic/iomap.h
> @@ -1,5 +1,5 @@
> -#ifndef __GENERIC_IO_H
> -#define __GENERIC_IO_H
> +#ifndef __GENERIC_IOMAP_H
> +#define __GENERIC_IOMAP_H
>
> #include <linux/linkage.h>
> #include <asm/byteorder.h>
> @@ -78,4 +78,4 @@ static inline void pci_iounmap(struct pci_dev *dev, void __iomem *addr)
>
> #include <asm-generic/pci_iomap.h>
>
> -#endif
> +#endif /* __GENERIC_IOMAP_H */
>


--
Chen Gang


\
 
 \ /
  Last update: 2013-06-28 05:21    [W:0.045 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site