mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
ARM: imx: fix missing include of common.h
Fix the following warning by including ../common.h to provide the protoype for mxc_register_gpio() : arch/arm/mach-imx/devices/platform-gpio-mxc.c:11:24: warning: symbol 'mxc_register_gpio' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
7bb84d1e66
commit
ba4d86a64d
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
* Free Software Foundation.
|
||||
*/
|
||||
#include "devices-common.h"
|
||||
#include "../common.h"
|
||||
|
||||
struct platform_device *__init mxc_register_gpio(char *name, int id,
|
||||
resource_size_t iobase, resource_size_t iosize, int irq, int irq_high)
|
||||
|
|
Loading…
Reference in a new issue