Commit b6d95bb6 authored by Jean Delvare's avatar Jean Delvare Committed by Jesse Barnes

PCI: Use ICH6_GPIO_EN in ich6_lpc_acpi_gpio

We were just lucky that ICH4_GPIO_EN and ICH6_GPIO_EN happen to have
the same value.
Signed-off-by: default avatarJean Delvare <>
Signed-off-by: default avatarJesse Barnes <>
parent 5d9c0a79
......@@ -606,7 +606,7 @@ static void __devinit ich6_lpc_acpi_gpio(struct pci_dev *dev)
pci_read_config_byte(dev, ICH6_GPIO_CNTL, &enable);
if (enable & ICH4_GPIO_EN) {
if (enable & ICH6_GPIO_EN) {
pci_read_config_dword(dev, ICH6_GPIOBASE, &region);
if (region >= PCIBIOS_MIN_IO)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment