[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaG_J1pKhzsfbjAEv6AQ_V0q6w=VTyxf6ur5aQdAnK34A@mail.gmail.com>
Date: Fri, 28 Oct 2011 22:03:34 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Barry Song <Barry.Song@....com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
workgroup.linux@....com, Barry Song <Baohua.Song@....com>
Subject: Re: [PATCH] pinctrl: Fix "warning: 'struct pinctrl_dev' declared
inside parameter list"
On Fri, Oct 28, 2011 at 5:38 AM, Barry Song <Barry.Song@....com> wrote:
> From: Barry Song <Baohua.Song@....com>
>
> when pinctl subsystem is not selected, when compiling drivers including
> the include/linux/pinctrl/pinctrl.h, we will get the warning as below:
> In file included from include/linux/pinctrl/pinmux.h:17,
> from drivers/tty/serial/sirfsoc_uart.c:25:
> include/linux/pinctrl/pinctrl.h:126: warning: 'struct pinctrl_dev'
> declared inside parameter list
> include/linux/pinctrl/pinctrl.h:126: warning: its scope is only this
> definition or declaration, which is probably not what you want
>
> Signed-off-by: Barry Song <Baohua.Song@....com>
OK applied.
Thanks,
Linus Walleij
--
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