From: axel.lin@gmail.com (Axel Lin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: OMAP2: Add missing include of linux/gpio.h
Date: Tue, 31 May 2011 21:23:49 +0800 [thread overview]
Message-ID: <BANLkTi=JtnWtoWUOytjcqqvYsQde_SLr9w@mail.gmail.com> (raw)
In-Reply-To: <20110531131812.GP11352@atomide.com>
2011/5/31 Tony Lindgren <tony@atomide.com>:
> * Axel Lin <axel.lin@gmail.com> [110531 05:51]:
>> I got some build error like below while executing "make omap2plus_defconfig".
>>
>> ? CC ? ? ?arch/arm/mach-omap2/board-2430sdp.o
>> arch/arm/mach-omap2/board-2430sdp.c: In function 'omap_2430sdp_init':
>> arch/arm/mach-omap2/board-2430sdp.c:247: error: 'GPIOF_OUT_INIT_LOW' undeclared (first use in this function)
>> arch/arm/mach-omap2/board-2430sdp.c:247: error: (Each undeclared identifier is reported only once
>> arch/arm/mach-omap2/board-2430sdp.c:247: error: for each function it appears in.)
>>
>> This patch fixes the build error by include linux/gpio.h instead of mach/gpio.h.
>
> Does this happen with next?
Yes, I build the kernel with today's linux-next tree.
>
> Will queue as a fix anyways.
Thanks,
Axel
prev parent reply other threads:[~2011-05-31 13:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-31 12:55 [PATCH v2] ARM: OMAP2: Add missing include of linux/gpio.h Axel Lin
2011-05-31 13:18 ` Tony Lindgren
2011-05-31 13:23 ` Axel Lin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTi=JtnWtoWUOytjcqqvYsQde_SLr9w@mail.gmail.com' \
--to=axel.lin@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).