From: swarren@wwwdotorg•org (Stephen Warren)
To: linux-arm-kernel@lists•infradead.org
Subject: Duplicate labels in dts files
Date: Mon, 21 May 2012 10:29:03 -0600 [thread overview]
Message-ID: <4FBA6D4F.1090401@wwwdotorg.org> (raw)
In-Reply-To: <20120519025632.GD5427@S2101-09.ap.freescale.net>
On 05/18/2012 08:56 PM, Shawn Guo wrote:
> On Fri, May 18, 2012 at 03:01:10PM -0600, Stephen Warren wrote:
>> The following arch/arm/boot/dts/*.dts all have duplicate label
>> definitions, albeit all duplicates pointing at the same node. Is this
>> expected?
>
> At least for IMX, I would say, yes.
>
> For example, when I have the following node in imx53.dtsi and need to
> have it in imx53-ard.dts, the first line of the node definition will
> be naturally copied into imx53-ard.dts. As the result, the label
> "uart1" will be "duplicated".
>
> uart1: serial at 53fbc000 {
There's no need to duplicate the label here; that line would work just
fine as:
serial at 53fbc000 {
Writing that doesn't remove the label from the node at all.
prev parent reply other threads:[~2012-05-21 16:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-18 21:01 Duplicate labels in dts files Stephen Warren
2012-05-19 2:56 ` Shawn Guo
2012-05-21 9:58 ` Nicolas Ferre
2012-05-21 16:29 ` Stephen Warren [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=4FBA6D4F.1090401@wwwdotorg.org \
--to=swarren@wwwdotorg$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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