Re: [PATCH] Disable i8042 checks on Intel Apple Macs

From: Kyle McMartin
Date: Wed May 05 2010 - 17:27:29 EST


On Tue, May 04, 2010 at 06:36:34PM +0100, Bastien Nocera wrote:
> +static struct dmi_system_id __initdata dmi_system_table[] = {
<snip>
> + /* Intel Apple Macs never have an i8042 controller */
> + if (dmi_check_system(dmi_system_table) > 0)
> + return -ENODEV;

Hi Bastien,

These uses of dmi_ would need to be protected by CONFIG_DMI from being
compiled on platforms where DMI doesn't exist (like powerpc.)

regards, Kyle
--
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/