Re: Make synaptics support optional
Aaron Lehmann (aaronl@vitelus.com)
Wed, 9 Jul 2003 02:55:44 -0700
On Tue, Jul 08, 2003 at 12:45:51PM +0200, Pavel Machek wrote:
> --- /usr/src/tmp/linux/drivers/input/mouse/synaptics.c 2003-06-24 12:27:47.000000000 +0200
> +++ /usr/src/linux/drivers/input/mouse/synaptics.c 2003-07-08 12:32:36.000000000 +0200
> @@ -213,6 +213,9 @@
> {
> struct synaptics_data *priv;
>
> +#ifndef CONFIG_MOUSE_SYNAPTICS
> + return -1;
> +#endif;
> psmouse->private = priv = kmalloc(sizeof(struct synaptics_data), GFP_KERNEL);
> if (!priv)
> return -1;
>
Why not adjust the Makefiles?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/