Commit 0bd8496b authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

drivers/ misc __iomem annotations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ad690ef9
...@@ -275,7 +275,7 @@ static int i3000_probe1(struct pci_dev *pdev, int dev_idx) ...@@ -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 *c0dra = dra, *c1dra = &dra[I3000_RANKS_PER_CHANNEL / 2];
unsigned char *c0drb = drb, *c1drb = &drb[I3000_RANKS_PER_CHANNEL]; unsigned char *c0drb = drb, *c1drb = &drb[I3000_RANKS_PER_CHANNEL];
unsigned long mchbar; unsigned long mchbar;
void *window; void __iomem *window;
debugf0("MC: %s()\n", __func__); debugf0("MC: %s()\n", __func__);
......
...@@ -551,8 +551,8 @@ static int setup_mmio_scc (struct pci_dev *dev, const char *name) ...@@ -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 dma_base = pci_resource_start(dev, 1);
unsigned long ctl_size = pci_resource_len(dev, 0); unsigned long ctl_size = pci_resource_len(dev, 0);
unsigned long dma_size = pci_resource_len(dev, 1); unsigned long dma_size = pci_resource_len(dev, 1);
void *ctl_addr; void __iomem *ctl_addr;
void *dma_addr; void __iomem *dma_addr;
int i; int i;
for (i = 0; i < MAX_HWIFS; i++) { for (i = 0; i < MAX_HWIFS; i++) {
......
...@@ -849,7 +849,7 @@ tgafb_clut_imageblit(struct fb_info *info, const struct fb_image *image) ...@@ -849,7 +849,7 @@ tgafb_clut_imageblit(struct fb_info *info, const struct fb_image *image)
u32 *palette = ((u32 *)info->pseudo_palette); u32 *palette = ((u32 *)info->pseudo_palette);
unsigned long pos, line_length, i, j; unsigned long pos, line_length, i, j;
const unsigned char *data; const unsigned char *data;
void *regs_base, *fb_base; void __iomem *regs_base, *fb_base;
dx = image->dx; dx = image->dx;
dy = image->dy; dy = image->dy;
......
...@@ -85,7 +85,7 @@ static struct { ...@@ -85,7 +85,7 @@ static struct {
}; };
struct ds1wm_data { struct ds1wm_data {
void *map; void __iomem *map;
int bus_shift; /* # of shifts to calc register offsets */ int bus_shift; /* # of shifts to calc register offsets */
struct platform_device *pdev; struct platform_device *pdev;
struct ds1wm_platform_data *pdata; struct ds1wm_platform_data *pdata;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment