diff options
| -rw-r--r-- | drivers/mfd/lpc_ich.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c index 027cc8f86132..a05fdfc2ebcf 100644 --- a/drivers/mfd/lpc_ich.c +++ b/drivers/mfd/lpc_ich.c | |||
| @@ -765,7 +765,6 @@ static int __devinit lpc_ich_init_wdt(struct pci_dev *dev, | |||
| 765 | u32 base_addr_cfg; | 765 | u32 base_addr_cfg; |
| 766 | u32 base_addr; | 766 | u32 base_addr; |
| 767 | int ret; | 767 | int ret; |
| 768 | bool acpi_conflict = false; | ||
| 769 | struct resource *res; | 768 | struct resource *res; |
| 770 | 769 | ||
| 771 | /* Setup power management base register */ | 770 | /* Setup power management base register */ |
| @@ -780,20 +779,11 @@ static int __devinit lpc_ich_init_wdt(struct pci_dev *dev, | |||
| 780 | res = wdt_io_res(ICH_RES_IO_TCO); | 779 | res = wdt_io_res(ICH_RES_IO_TCO); |
| 781 | res->start = base_addr + ACPIBASE_TCO_OFF; | 780 | res->start = base_addr + ACPIBASE_TCO_OFF; |
| 782 | res->end = base_addr + ACPIBASE_TCO_END; | 781 | res->end = base_addr + ACPIBASE_TCO_END; |
| 783 | ret = acpi_check_resource_conflict(res); | ||
| 784 | if (ret) { | ||
| 785 | acpi_conflict = true; | ||
| 786 | goto wdt_done; | ||
| 787 | } | ||
| 788 | 782 | ||
| 789 | res = wdt_io_res(ICH_RES_IO_SMI); | 783 | res = wdt_io_res(ICH_RES_IO_SMI); |
| 790 | res->start = base_addr + ACPIBASE_SMI_OFF; | 784 | res->start = base_addr + ACPIBASE_SMI_OFF; |
| 791 | res->end = base_addr + ACPIBASE_SMI_END; | 785 | res->end = base_addr + ACPIBASE_SMI_END; |
| 792 | ret = acpi_check_resource_conflict(res); | 786 | |
| 793 | if (ret) { | ||
| 794 | acpi_conflict = true; | ||
| 795 | goto wdt_done; | ||
| 796 | } | ||
| 797 | lpc_ich_enable_acpi_space(dev); | 787 | lpc_ich_enable_acpi_space(dev); |
| 798 | 788 | ||
| 799 | /* | 789 | /* |
| @@ -813,11 +803,6 @@ static int __devinit lpc_ich_init_wdt(struct pci_dev *dev, | |||
| 813 | res = wdt_mem_res(ICH_RES_MEM_GCS); | 803 | res = wdt_mem_res(ICH_RES_MEM_GCS); |
| 814 | res->start = base_addr + ACPIBASE_GCS_OFF; | 804 | res->start = base_addr + ACPIBASE_GCS_OFF; |
| 815 | res->end = base_addr + ACPIBASE_GCS_END; | 805 | res->end = base_addr + ACPIBASE_GCS_END; |
| 816 | ret = acpi_check_resource_conflict(res); | ||
| 817 | if (ret) { | ||
| 818 | acpi_conflict = true; | ||
| 819 | goto wdt_done; | ||
| 820 | } | ||
| 821 | } | 806 | } |
| 822 | 807 | ||
| 823 | lpc_ich_finalize_cell(&lpc_ich_cells[LPC_WDT], id); | 808 | lpc_ich_finalize_cell(&lpc_ich_cells[LPC_WDT], id); |
| @@ -825,9 +810,6 @@ static int __devinit lpc_ich_init_wdt(struct pci_dev *dev, | |||
| 825 | 1, NULL, 0); | 810 | 1, NULL, 0); |
| 826 | 811 | ||
| 827 | wdt_done: | 812 | wdt_done: |
| 828 | if (acpi_conflict) | ||
| 829 | pr_warn("Resource conflict(s) found affecting %s\n", | ||
| 830 | lpc_ich_cells[LPC_WDT].name); | ||
| 831 | return ret; | 813 | return ret; |
| 832 | } | 814 | } |
| 833 | 815 | ||
