Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86, mrst: Add i8042_detect API for Moorestwon platform

It will just return 0 as there is no i8042 controller

Signed-off-by: Feng Tang <feng.tang@intel.com>
LKML-Reference: <1278342202-10973-3-git-send-email-feng.tang@intel.com>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>

authored by

Feng Tang and committed by
H. Peter Anvin
6d2cce62 c516ac58

+7
+7
arch/x86/kernel/mrst.c
··· 216 216 setup_boot_APIC_clock(); 217 217 }; 218 218 219 + /* MID systems don't have i8042 controller */ 220 + static int mrst_i8042_detect(void) 221 + { 222 + return 0; 223 + } 224 + 219 225 /* 220 226 * Moorestown specific x86_init function overrides and early setup 221 227 * calls. ··· 239 233 x86_cpuinit.setup_percpu_clockev = mrst_setup_secondary_clock; 240 234 241 235 x86_platform.calibrate_tsc = mrst_calibrate_tsc; 236 + x86_platform.i8042_detect = mrst_i8042_detect; 242 237 x86_init.pci.init = pci_mrst_init; 243 238 x86_init.pci.fixup_irqs = x86_init_noop; 244 239