From: Barry Song Date: Fri, 28 Oct 2011 03:38:24 +0000 (-0700) Subject: pinctrl: fix "warning: 'struct pinctrl_dev' declared inside parameter list" X-Git-Tag: v3.2-rc2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0e20753c15fc418d94fee826af394907df856d8;p=pandora-kernel.git pinctrl: fix "warning: 'struct pinctrl_dev' declared inside parameter list" 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 Signed-off-by: Linus Walleij --- Reading git-diff-tree failed