linux-mips
[Top] [All Lists]

Re: [PATCH] I8042: SNI RM support

To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: Re: [PATCH] I8042: SNI RM support
From: Dmitry Torokhov <dtor@insightbb.com>
Date: Wed, 16 Jan 2008 00:22:42 -0500
Cc: linux-input@vger.kernel.org, linux-mips@linux-mips.org
In-reply-to: <20080112233904.4E149C2F36@solo.franken.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20080112233904.4E149C2F36@solo.franken.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.3
Hi Thomas,

On Saturday 12 January 2008 18:39, Thomas Bogendoerfer wrote:
> +
> +/*
> + * IRQs.
> + */
> +static int i8042_kbd_irq = -1;
> +static int i8042_aux_irq = -1;

Why initialize with -1 and not leave at 0? Or even initialize with 1/12
and override with 33/44 in i8042_platform_init()?

-- 
Dmitry

<Prev in Thread] Current Thread [Next in Thread>