diff options
Diffstat (limited to 'drivers/mfd/lpc_ich.c')
-rw-r--r-- | drivers/mfd/lpc_ich.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c index a22544fe5319..2ad24caa07db 100644 --- a/drivers/mfd/lpc_ich.c +++ b/drivers/mfd/lpc_ich.c | |||
@@ -196,7 +196,7 @@ enum lpc_chipsets { | |||
196 | LPC_LPT_LP, /* Lynx Point-LP */ | 196 | LPC_LPT_LP, /* Lynx Point-LP */ |
197 | }; | 197 | }; |
198 | 198 | ||
199 | struct lpc_ich_info lpc_chipset_info[] __devinitdata = { | 199 | struct lpc_ich_info lpc_chipset_info[] = { |
200 | [LPC_ICH] = { | 200 | [LPC_ICH] = { |
201 | .name = "ICH", | 201 | .name = "ICH", |
202 | .iTCO_version = 1, | 202 | .iTCO_version = 1, |
@@ -672,7 +672,7 @@ static void lpc_ich_restore_config_space(struct pci_dev *dev) | |||
672 | } | 672 | } |
673 | } | 673 | } |
674 | 674 | ||
675 | static void __devinit lpc_ich_enable_acpi_space(struct pci_dev *dev) | 675 | static void lpc_ich_enable_acpi_space(struct pci_dev *dev) |
676 | { | 676 | { |
677 | u8 reg_save; | 677 | u8 reg_save; |
678 | 678 | ||
@@ -681,7 +681,7 @@ static void __devinit lpc_ich_enable_acpi_space(struct pci_dev *dev) | |||
681 | lpc_ich_acpi_save = reg_save; | 681 | lpc_ich_acpi_save = reg_save; |
682 | } | 682 | } |
683 | 683 | ||
684 | static void __devinit lpc_ich_enable_gpio_space(struct pci_dev *dev) | 684 | static void lpc_ich_enable_gpio_space(struct pci_dev *dev) |
685 | { | 685 | { |
686 | u8 reg_save; | 686 | u8 reg_save; |
687 | 687 | ||
@@ -690,7 +690,7 @@ static void __devinit lpc_ich_enable_gpio_space(struct pci_dev *dev) | |||
690 | lpc_ich_gpio_save = reg_save; | 690 | lpc_ich_gpio_save = reg_save; |
691 | } | 691 | } |
692 | 692 | ||
693 | static void __devinit lpc_ich_finalize_cell(struct mfd_cell *cell, | 693 | static void lpc_ich_finalize_cell(struct mfd_cell *cell, |
694 | const struct pci_device_id *id) | 694 | const struct pci_device_id *id) |
695 | { | 695 | { |
696 | cell->platform_data = &lpc_chipset_info[id->driver_data]; | 696 | cell->platform_data = &lpc_chipset_info[id->driver_data]; |
@@ -702,7 +702,7 @@ static void __devinit lpc_ich_finalize_cell(struct mfd_cell *cell, | |||
702 | * GPIO groups and it's enough to have access to one of these to instantiate | 702 | * GPIO groups and it's enough to have access to one of these to instantiate |
703 | * the device. | 703 | * the device. |
704 | */ | 704 | */ |
705 | static int __devinit lpc_ich_check_conflict_gpio(struct resource *res) | 705 | static int lpc_ich_check_conflict_gpio(struct resource *res) |
706 | { | 706 | { |
707 | int ret; | 707 | int ret; |
708 | u8 use_gpio = 0; | 708 | u8 use_gpio = 0; |
@@ -721,7 +721,7 @@ static int __devinit lpc_ich_check_conflict_gpio(struct resource *res) | |||
721 | return use_gpio ? use_gpio : ret; | 721 | return use_gpio ? use_gpio : ret; |
722 | } | 722 | } |
723 | 723 | ||
724 | static int __devinit lpc_ich_init_gpio(struct pci_dev *dev, | 724 | static int lpc_ich_init_gpio(struct pci_dev *dev, |
725 | const struct pci_device_id *id) | 725 | const struct pci_device_id *id) |
726 | { | 726 | { |
727 | u32 base_addr_cfg; | 727 | u32 base_addr_cfg; |
@@ -798,7 +798,7 @@ gpio_done: | |||
798 | return ret; | 798 | return ret; |
799 | } | 799 | } |
800 | 800 | ||
801 | static int __devinit lpc_ich_init_wdt(struct pci_dev *dev, | 801 | static int lpc_ich_init_wdt(struct pci_dev *dev, |
802 | const struct pci_device_id *id) | 802 | const struct pci_device_id *id) |
803 | { | 803 | { |
804 | u32 base_addr_cfg; | 804 | u32 base_addr_cfg; |
@@ -852,7 +852,7 @@ wdt_done: | |||
852 | return ret; | 852 | return ret; |
853 | } | 853 | } |
854 | 854 | ||
855 | static int __devinit lpc_ich_probe(struct pci_dev *dev, | 855 | static int lpc_ich_probe(struct pci_dev *dev, |
856 | const struct pci_device_id *id) | 856 | const struct pci_device_id *id) |
857 | { | 857 | { |
858 | int ret; | 858 | int ret; |
@@ -878,7 +878,7 @@ static int __devinit lpc_ich_probe(struct pci_dev *dev, | |||
878 | return 0; | 878 | return 0; |
879 | } | 879 | } |
880 | 880 | ||
881 | static void __devexit lpc_ich_remove(struct pci_dev *dev) | 881 | static void lpc_ich_remove(struct pci_dev *dev) |
882 | { | 882 | { |
883 | mfd_remove_devices(&dev->dev); | 883 | mfd_remove_devices(&dev->dev); |
884 | lpc_ich_restore_config_space(dev); | 884 | lpc_ich_restore_config_space(dev); |
@@ -888,7 +888,7 @@ static struct pci_driver lpc_ich_driver = { | |||
888 | .name = "lpc_ich", | 888 | .name = "lpc_ich", |
889 | .id_table = lpc_ich_ids, | 889 | .id_table = lpc_ich_ids, |
890 | .probe = lpc_ich_probe, | 890 | .probe = lpc_ich_probe, |
891 | .remove = __devexit_p(lpc_ich_remove), | 891 | .remove = lpc_ich_remove, |
892 | }; | 892 | }; |
893 | 893 | ||
894 | static int __init lpc_ich_init(void) | 894 | static int __init lpc_ich_init(void) |