Re: [PATCH] x86: intel-mid: fix watchdog platform code

From: Guenter Roeck
Date: Tue May 27 2014 - 19:34:59 EST


On 05/27/2014 02:21 PM, David Cohen wrote:
This patch fixes missing include asm/io_apic.h which may lead to
following error:

arch/x86/platform/intel-mid/device_libs/platform_wdt.c: In function 'tangier_probe':
arch/x86/platform/intel-mid/device_libs/platform_wdt.c:37:2: error: implicit declaration of function 'mp_find_ioapic' [-Werror=implicit-function-declaration]
ioapic = mp_find_ioapic(irq);
^
arch/x86/platform/intel-mid/device_libs/platform_wdt.c:44:3: error: implicit declaration of function 'io_apic_set_pci_routing' [-Werror=implicit-function-declaration]
ret = io_apic_set_pci_routing(NULL, irq, &irq_attr);
^
Signed-off-by: David Cohen <david.a.cohen@xxxxxxxxxxxxxxx>
Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/