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 6/8] Staging: vme_tsi148: mark tsi148_driver->base as __iomem
    Date
    tsi148_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_tsi148.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/staging/vme/bridges/vme_tsi148.h b/drivers/staging/vme/bridges/vme_tsi148.h
    index bda64ef85754..9f97fa8084e8 100644
    --- a/drivers/staging/vme/bridges/vme_tsi148.h
    +++ b/drivers/staging/vme/bridges/vme_tsi148.h
    @@ -35,7 +35,7 @@

    /* Structure used to hold driver specific information */
    struct tsi148_driver {
    - void *base; /* Base Address of device registers */
    + void __iomem *base; /* Base Address of device registers */
    wait_queue_head_t dma_queue[2];
    wait_queue_head_t iack_queue;
    void (*lm_callback[4])(int); /* Called in interrupt handler */
    --
    1.7.3.3.400.g93cef


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