lkml.org 
[lkml]   [2011]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 04/24] add missing __iomem to generic iounmap declaration
    Date
    Signed-off-by: Mark Salter <msalter@redhat.com>
    Acked-by: Arnd Bergmann <arnd@arndb.de>
    ---
    include/asm-generic/io.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h
    index 9120887..c2cf2ed 100644
    --- a/include/asm-generic/io.h
    +++ b/include/asm-generic/io.h
    @@ -327,7 +327,7 @@ static inline void __iomem *ioremap(phys_addr_t offset, unsigned long size)
    #define ioremap_wc ioremap_nocache
    #endif

    -static inline void iounmap(void *addr)
    +static inline void iounmap(void __iomem *addr)
    {
    }
    #endif /* CONFIG_MMU */
    --
    1.7.6.2


    \
     
     \ /
      Last update: 2011-10-04 18:53    [W:2.273 / U:0.108 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site