From: Petri Lehtinen <petri.lehtinen@inoi.fi>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] libfdt: Add function to explicitly expand aliases
Date: Fri, 3 Oct 2008 23:00:10 +0300 [thread overview]
Message-ID: <20081003200010.GD7476@colossus> (raw)
In-Reply-To: <20081002230553.GA25309@cideas.com>
On Thu, Oct 02, 2008 at 07:05:53PM -0400, Jerry Van Baren wrote:
[snip]
> diff --git a/include/libfdt.h b/include/libfdt.h
> index 5492a53..7cad68c 100644
> --- a/include/libfdt.h
> +++ b/include/libfdt.h
> @@ -459,6 +459,32 @@ static inline void *fdt_getprop_w(void *fdt, int nodeoffset,
> uint32_t fdt_get_phandle(const void *fdt, int nodeoffset);
>
> /**
> + * fdt_get_namelen - get alias based on substring
===^^^^^^^^^^^^^^^===
> + * @fdt: pointer to the device tree blob
> + * @name: name of the alias th look up
> + * @namelen: number of characters of name to consider
> + *
> + * Identical to fdt_get_alias(), but only examine the first namelen
> + * characters of name for matching the alias name.
> + */
> +const char *fdt_get_alias_namelen(const void *fdt,
> + const char *name, int namelen);
> +
This should be fdt_get_alias_namelen, right?
Petri
next prev parent reply other threads:[~2008-10-03 20:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-02 23:05 [U-Boot] [PATCH] libfdt: Add function to explicitly expand aliases Jerry Van Baren
2008-10-03 20:00 ` Petri Lehtinen [this message]
2008-10-03 20:09 ` Jon Loeliger
2008-10-04 2:42 ` David Gibson
2008-10-04 4:49 ` David Gibson
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=20081003200010.GD7476@colossus \
--to=petri.lehtinen@inoi.fi \
--cc=u-boot@lists.denx.de \
/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