[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYYtvTa91WW10oNs9KkqMfPCJhpZLcW5ksfyxG6F1cO7w@mail.gmail.com>
Date: Mon, 15 Feb 2016 14:35:51 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Bjorn Helgaas <bhelgaas@...gle.com>
Cc: Alexandre Courbot <gnurou@...il.com>,
"linux-arch@...r.kernel.org" <linux-arch@...r.kernel.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
Mark Brown <broonie@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] gpio: Include linux/gpio.h instead of asm/gpio.h
On Tue, Feb 2, 2016 at 8:53 PM, Bjorn Helgaas <bhelgaas@...gle.com> wrote:
> Most arches have an asm/gpio.h that merely includes linux/gpio.h. The
> others select ARCH_HAVE_CUSTOM_GPIO_H, and when that's selected,
> linux/gpio.h includes asm/gpio.h.
>
> Therefore, code should include linux/gpio.h instead of including asm/gpio.h
> directly.
>
> Remove includes of asm/gpio.h, adding an include of linux/gpio.h when
> necessary.
>
> This is a follow-on to 7563bbf89d06 ("gpiolib/arches: Centralise
> bolierplate asm/gpio.h").
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@...gle.com>
Patch applied after getting Arnds ACK over IRC.
Yours,
Linus Walleij
Powered by blists - more mailing lists