aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pch.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-pch.c')
-rw-r--r--drivers/gpio/gpio-pch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpio/gpio-pch.c b/drivers/gpio/gpio-pch.c
index e3a14fef79e1..cdf599687cf7 100644
--- a/drivers/gpio/gpio-pch.c
+++ b/drivers/gpio/gpio-pch.c
@@ -326,7 +326,7 @@ static irqreturn_t pch_gpio_handler(int irq, void *dev_id)
326 return ret; 326 return ret;
327} 327}
328 328
329static __devinit void pch_gpio_alloc_generic_chip(struct pch_gpio *chip, 329static void pch_gpio_alloc_generic_chip(struct pch_gpio *chip,
330 unsigned int irq_start, unsigned int num) 330 unsigned int irq_start, unsigned int num)
331{ 331{
332 struct irq_chip_generic *gc; 332 struct irq_chip_generic *gc;
@@ -346,7 +346,7 @@ static __devinit void pch_gpio_alloc_generic_chip(struct pch_gpio *chip,
346 IRQ_NOREQUEST | IRQ_NOPROBE, 0); 346 IRQ_NOREQUEST | IRQ_NOPROBE, 0);
347} 347}
348 348
349static int __devinit pch_gpio_probe(struct pci_dev *pdev, 349static int pch_gpio_probe(struct pci_dev *pdev,
350 const struct pci_device_id *id) 350 const struct pci_device_id *id)
351{ 351{
352 s32 ret; 352 s32 ret;
@@ -443,7 +443,7 @@ err_pci_enable:
443 return ret; 443 return ret;
444} 444}
445 445
446static void __devexit pch_gpio_remove(struct pci_dev *pdev) 446static void pch_gpio_remove(struct pci_dev *pdev)
447{ 447{
448 int err; 448 int err;
449 struct pch_gpio *chip = pci_get_drvdata(pdev); 449 struct pch_gpio *chip = pci_get_drvdata(pdev);
@@ -532,7 +532,7 @@ static struct pci_driver pch_gpio_driver = {
532 .name = "pch_gpio", 532 .name = "pch_gpio",
533 .id_table = pch_gpio_pcidev_id, 533 .id_table = pch_gpio_pcidev_id,
534 .probe = pch_gpio_probe, 534 .probe = pch_gpio_probe,
535 .remove = __devexit_p(pch_gpio_remove), 535 .remove = pch_gpio_remove,
536 .suspend = pch_gpio_suspend, 536 .suspend = pch_gpio_suspend,
537 .resume = pch_gpio_resume 537 .resume = pch_gpio_resume
538}; 538};