]> err.no Git - linux-2.6/commitdiff
drivers/ misc __iomem annotations
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 26 Jul 2007 16:36:09 +0000 (17:36 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 26 Jul 2007 18:11:57 +0000 (11:11 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/i3000_edac.c
drivers/ide/pci/scc_pata.c
drivers/video/tgafb.c
drivers/w1/masters/ds1wm.c

index 0ecfdc432f87045588080183f5b96ecbc340e28a..e895f9f887abb8dbda0c45706e649a8cff8fd9c8 100644 (file)
@@ -275,7 +275,7 @@ static int i3000_probe1(struct pci_dev *pdev, int dev_idx)
        unsigned char *c0dra = dra, *c1dra = &dra[I3000_RANKS_PER_CHANNEL / 2];
        unsigned char *c0drb = drb, *c1drb = &drb[I3000_RANKS_PER_CHANNEL];
        unsigned long mchbar;
-       void *window;
+       void __iomem *window;
 
        debugf0("MC: %s()\n", __func__);
 
index f668d235e6be25a2a91de82dd18d052ad08b1887..bf19ddfa6cda256c3d06f8164087f0a83c3c6e98 100644 (file)
@@ -551,8 +551,8 @@ static int setup_mmio_scc (struct pci_dev *dev, const char *name)
        unsigned long dma_base = pci_resource_start(dev, 1);
        unsigned long ctl_size = pci_resource_len(dev, 0);
        unsigned long dma_size = pci_resource_len(dev, 1);
-       void *ctl_addr;
-       void *dma_addr;
+       void __iomem *ctl_addr;
+       void __iomem *dma_addr;
        int i;
 
        for (i = 0; i < MAX_HWIFS; i++) {
index 89facb73edfcfff079ece1b6ce0aa140efd4b697..d292a37ec7d64a2d74e15eac5329fdc0bcf1c371 100644 (file)
@@ -849,7 +849,7 @@ tgafb_clut_imageblit(struct fb_info *info, const struct fb_image *image)
        u32 *palette = ((u32 *)info->pseudo_palette);
        unsigned long pos, line_length, i, j;
        const unsigned char *data;
-       void *regs_base, *fb_base;
+       void __iomem *regs_base, *fb_base;
 
        dx = image->dx;
        dy = image->dy;
index 763bc73e50708daa47362c17cd6c6c45964a89dc..4b696641ce33a94d7ba3ae36fc86b45114f0e690 100644 (file)
@@ -85,7 +85,7 @@ static struct {
 };
 
 struct ds1wm_data {
-       void            *map;
+       void            __iomem *map;
        int             bus_shift; /* # of shifts to calc register offsets */
        struct platform_device *pdev;
        struct ds1wm_platform_data *pdata;