[PATCH 5/6] [ARM] shmobile: change __io() definition to use __typesafe_io()

Eric Miao eric.y.miao at gmail.com
Wed Jun 23 07:59:04 EDT 2010


On Wed, Jun 23, 2010 at 7:52 PM, Eric Miao <eric.y.miao at gmail.com> wrote:
> Signed-off-by: Eric Miao <eric.miao at canonical.com>

Sorry, forgot to CC Magnus.

> ---
>  arch/arm/mach-shmobile/include/mach/io.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-shmobile/include/mach/io.h b/arch/arm/mach-shmobile/include/mach/io.h
> index 3e29649..19d5120 100644
> --- a/arch/arm/mach-shmobile/include/mach/io.h
> +++ b/arch/arm/mach-shmobile/include/mach/io.h
> @@ -1,5 +1,5 @@
>  #ifndef __ASM_MACH_IO_H
>  #define __ASM_MACH_IO_H
>
> -#define __io(a)                        ((void __iomem *)(a))
> +#define __io(a)                        __typesafe_io(a)
>  #endif /* __ASM_MACH_IO_H */
> --
> 1.7.1
>
>



More information about the linux-arm-kernel mailing list