lkml.org 
[lkml]   [2005]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] iomem annotations (sound/arm/aaci)
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    ----
    diff -urN RC13-git5-sunsu/sound/arm/aaci.c RC13-git5-aaci/sound/arm/aaci.c
    --- RC13-git5-sunsu/sound/arm/aaci.c 2005-08-28 23:09:50.000000000 -0400
    +++ RC13-git5-aaci/sound/arm/aaci.c 2005-09-05 16:41:09.000000000 -0400
    @@ -821,7 +821,7 @@

    static unsigned int __devinit aaci_size_fifo(struct aaci *aaci)
    {
    - void *base = aaci->base + AACI_CSCH1;
    + void __iomem *base = aaci->base + AACI_CSCH1;
    int i;

    writel(TXCR_FEN | TXCR_TSZ16 | TXCR_TXEN, base + AACI_TXCR);
    @@ -877,7 +877,7 @@
    aaci->playback.fifo = aaci->base + AACI_DR1;

    for (i = 0; i < 4; i++) {
    - void *base = aaci->base + i * 0x14;
    + void __iomem *base = aaci->base + i * 0x14;

    writel(0, base + AACI_IE);
    writel(0, base + AACI_TXCR);
    diff -urN RC13-git5-sunsu/sound/arm/aaci.h RC13-git5-aaci/sound/arm/aaci.h
    --- RC13-git5-sunsu/sound/arm/aaci.h 2005-08-28 23:09:50.000000000 -0400
    +++ RC13-git5-aaci/sound/arm/aaci.h 2005-09-05 16:41:09.000000000 -0400
    @@ -200,8 +200,8 @@


    struct aaci_runtime {
    - void *base;
    - void *fifo;
    + void __iomem *base;
    + void __iomem *fifo;

    struct ac97_pcm *pcm;
    int pcm_open;
    @@ -223,7 +223,7 @@
    struct aaci {
    struct amba_device *dev;
    snd_card_t *card;
    - void *base;
    + void __iomem *base;
    unsigned int fifosize;

    /* AC'97 */
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2005-09-06 03:09    [W:0.034 / U:60.324 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site