lkml.org 
[lkml]   [2010]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/8] Staging: vme_ca91cx42: mark ca91cx42_driver->base as __iomem
    Date
    ca91cx42_driver->base is mapped by ioremap_nocache() thus
    should be marked as __iomem.

    Signed-off-by: Namhyung Kim <namhyung@gmail.com>
    ---
    drivers/staging/vme/bridges/vme_ca91cx42.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/staging/vme/bridges/vme_ca91cx42.h b/drivers/staging/vme/bridges/vme_ca91cx42.h
    index e72c65b193ec..02a7c794db05 100644
    --- a/drivers/staging/vme/bridges/vme_ca91cx42.h
    +++ b/drivers/staging/vme/bridges/vme_ca91cx42.h
    @@ -39,7 +39,7 @@

    /* Structure used to hold driver specific information */
    struct ca91cx42_driver {
    - void *base; /* Base Address of device registers */
    + void __iomem *base; /* Base Address of device registers */
    wait_queue_head_t dma_queue;
    wait_queue_head_t iack_queue;
    wait_queue_head_t mbox_queue;
    --
    1.7.3.3.400.g93cef


    \
     
     \ /
      Last update: 2010-12-13 14:19    [W:0.019 / U:121.000 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site