[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <643E69AA4436674C8F39DCC2C05F76383CF3C784A3@HQMAIL03.nvidia.com>
Date: Wed, 31 Aug 2011 12:45:09 -0700
From: Andrew Chew <AChew@...dia.com>
To: Stephen Warren <swarren@...dia.com>,
Greg Kroah-Hartman <gregkh@...e.de>,
Russell King <linux@....linux.org.uk>
CC: Jonathan Cameron <jic23@....ac.uk>, Arnd Bergmann <arnd@...db.de>,
"linux-iio@...r.kernel.org" <linux-iio@...r.kernel.org>,
"devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
Stephen Warren <swarren@...dia.com>
Subject: RE: [PATCH 1/3] staging:iio:magnetometer:ak8975 Don't use
irq_to_gpio()
> Subject: [PATCH 1/3] staging:iio:magnetometer:ak8975 Don't
> use irq_to_gpio()
>
> Tegra doesn't have irq_to_gpio() any more, and ak8975 is included in
> tegra_defconfig. This causes a build failure. Solve this with
> a heavy-handed
> method for now.
>
> I suspect the long-term solution is to pass both the IRQ and GPIO IDs
> to the driver; the GPIO ID coming from either platform data,
> or perhaps
> enhancing struct i2c_client to add a gpio field alongside irq.
>
> Signed-off-by: Stephen Warren <swarren@...dia.com>
> ---
The three patches in this set LGTM.
Acked-by: Andrew Chew <achew@...dia.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists