Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mpc52xx_gpio iomem annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Al Viro and committed by
Linus Torvalds
93072457 1a79d1c3

+7 -7
+7 -7
arch/powerpc/platforms/52xx/mpc52xx_gpio.c
··· 100 100 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); 101 101 struct mpc52xx_gpiochip *chip = container_of(mm_gc, 102 102 struct mpc52xx_gpiochip, mmchip); 103 - struct mpc52xx_gpio_wkup *regs = mm_gc->regs; 103 + struct mpc52xx_gpio_wkup __iomem *regs = mm_gc->regs; 104 104 unsigned long flags; 105 105 106 106 spin_lock_irqsave(&gpio_lock, flags); ··· 122 122 mpc52xx_wkup_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) 123 123 { 124 124 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); 125 - struct mpc52xx_gpio_wkup *regs = mm_gc->regs; 125 + struct mpc52xx_gpio_wkup __iomem *regs = mm_gc->regs; 126 126 struct mpc52xx_gpiochip *chip = container_of(mm_gc, 127 127 struct mpc52xx_gpiochip, mmchip); 128 128 unsigned long flags; ··· 150 150 const struct of_device_id *match) 151 151 { 152 152 struct mpc52xx_gpiochip *chip; 153 - struct mpc52xx_gpio_wkup *regs; 153 + struct mpc52xx_gpio_wkup __iomem *regs; 154 154 struct of_gpio_chip *ofchip; 155 155 int ret; 156 156 ··· 260 260 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); 261 261 struct mpc52xx_gpiochip *chip = container_of(mm_gc, 262 262 struct mpc52xx_gpiochip, mmchip); 263 - struct mpc52xx_gpio *regs = mm_gc->regs; 263 + struct mpc52xx_gpio __iomem *regs = mm_gc->regs; 264 264 unsigned long flags; 265 265 266 266 spin_lock_irqsave(&gpio_lock, flags); ··· 284 284 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); 285 285 struct mpc52xx_gpiochip *chip = container_of(mm_gc, 286 286 struct mpc52xx_gpiochip, mmchip); 287 - struct mpc52xx_gpio *regs = mm_gc->regs; 287 + struct mpc52xx_gpio __iomem *regs = mm_gc->regs; 288 288 unsigned long flags; 289 289 290 290 spin_lock_irqsave(&gpio_lock, flags); ··· 312 312 { 313 313 struct mpc52xx_gpiochip *chip; 314 314 struct of_gpio_chip *ofchip; 315 - struct mpc52xx_gpio *regs; 315 + struct mpc52xx_gpio __iomem *regs; 316 316 int ret; 317 317 318 318 chip = kzalloc(sizeof(*chip), GFP_KERNEL); ··· 387 387 static int mpc52xx_gpt_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) 388 388 { 389 389 struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc); 390 - struct mpc52xx_gpt *regs = mm_gc->regs; 390 + struct mpc52xx_gpt __iomem *regs = mm_gc->regs; 391 391 392 392 out_be32(&regs->mode, 0x04); 393 393