diff options
| -rw-r--r-- | drivers/gpio/gpio-generic.c | 15 | ||||
| -rw-r--r-- | include/linux/basic_mmio_gpio.h | 15 |
2 files changed, 10 insertions, 20 deletions
diff --git a/drivers/gpio/gpio-generic.c b/drivers/gpio/gpio-generic.c index 231714def4d2..4e24436b0f82 100644 --- a/drivers/gpio/gpio-generic.c +++ b/drivers/gpio/gpio-generic.c | |||
| @@ -351,7 +351,7 @@ static int bgpio_setup_direction(struct bgpio_chip *bgc, | |||
| 351 | return 0; | 351 | return 0; |
| 352 | } | 352 | } |
| 353 | 353 | ||
| 354 | int __devexit bgpio_remove(struct bgpio_chip *bgc) | 354 | int bgpio_remove(struct bgpio_chip *bgc) |
| 355 | { | 355 | { |
| 356 | int err = gpiochip_remove(&bgc->gc); | 356 | int err = gpiochip_remove(&bgc->gc); |
| 357 | 357 | ||
| @@ -361,15 +361,10 @@ int __devexit bgpio_remove(struct bgpio_chip *bgc) | |||
| 361 | } | 361 | } |
| 362 | EXPORT_SYMBOL_GPL(bgpio_remove); | 362 | EXPORT_SYMBOL_GPL(bgpio_remove); |
| 363 | 363 | ||
| 364 | int __devinit bgpio_init(struct bgpio_chip *bgc, | 364 | int bgpio_init(struct bgpio_chip *bgc, struct device *dev, |
| 365 | struct device *dev, | 365 | unsigned long sz, void __iomem *dat, void __iomem *set, |
| 366 | unsigned long sz, | 366 | void __iomem *clr, void __iomem *dirout, void __iomem *dirin, |
| 367 | void __iomem *dat, | 367 | bool big_endian) |
| 368 | void __iomem *set, | ||
| 369 | void __iomem *clr, | ||
| 370 | void __iomem *dirout, | ||
| 371 | void __iomem *dirin, | ||
| 372 | bool big_endian) | ||
| 373 | { | 368 | { |
| 374 | int ret; | 369 | int ret; |
| 375 | 370 | ||
diff --git a/include/linux/basic_mmio_gpio.h b/include/linux/basic_mmio_gpio.h index 98999cf107ce..feb912196745 100644 --- a/include/linux/basic_mmio_gpio.h +++ b/include/linux/basic_mmio_gpio.h | |||
| @@ -63,15 +63,10 @@ static inline struct bgpio_chip *to_bgpio_chip(struct gpio_chip *gc) | |||
| 63 | return container_of(gc, struct bgpio_chip, gc); | 63 | return container_of(gc, struct bgpio_chip, gc); |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | int __devexit bgpio_remove(struct bgpio_chip *bgc); | 66 | int bgpio_remove(struct bgpio_chip *bgc); |
| 67 | int __devinit bgpio_init(struct bgpio_chip *bgc, | 67 | int bgpio_init(struct bgpio_chip *bgc, struct device *dev, |
| 68 | struct device *dev, | 68 | unsigned long sz, void __iomem *dat, void __iomem *set, |
| 69 | unsigned long sz, | 69 | void __iomem *clr, void __iomem *dirout, void __iomem *dirin, |
| 70 | void __iomem *dat, | 70 | bool big_endian); |
| 71 | void __iomem *set, | ||
| 72 | void __iomem *clr, | ||
| 73 | void __iomem *dirout, | ||
| 74 | void __iomem *dirin, | ||
| 75 | bool big_endian); | ||
| 76 | 71 | ||
| 77 | #endif /* __BASIC_MMIO_GPIO_H */ | 72 | #endif /* __BASIC_MMIO_GPIO_H */ |
