From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: Re: [PATCH 8/8] add a ns16550 registration helper and use it
Date: Thu, 28 Jul 2011 10:28:48 +0200 [thread overview]
Message-ID: <20110728082848.GU20587@pengutronix.de> (raw)
In-Reply-To: <1311840062-11446-9-git-send-email-s.hauer@pengutronix.de>
On Thu, Jul 28, 2011 at 10:01:02AM +0200, Sascha Hauer wrote:
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
> arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.c | 10 +-------
> arch/arm/boards/omap/board-beagle.c | 12 ++--------
> arch/arm/boards/omap/board-omap3evm.c | 22 ++++++++------------
> arch/arm/boards/omap/board-sdp343x.c | 12 ++--------
> arch/arm/boards/panda/board.c | 12 ++--------
> arch/arm/boards/pcm049/board.c | 12 ++--------
> arch/x86/boards/x86_generic/generic_pc.c | 15 +++----------
> include/driver.h | 7 ++++++
> 8 files changed, 34 insertions(+), 68 deletions(-)
>
> diff --git a/include/driver.h b/include/driver.h
> index af34803..ab2a074 100644
> --- a/include/driver.h
> +++ b/include/driver.h
> @@ -227,6 +227,13 @@ static inline struct device_d *add_cfi_flash_device(int id, resource_size_t star
> IORESOURCE_MEM | flags, NULL);
> }
>
We need
struct NS16550_plat;
here to not break compilation. Fixed.
Sascha
> +static inline struct device_d *add_ns16550_device(int id, resource_size_t start,
> + resource_size_t size, struct NS16550_plat *pdata)
> +{
> + return add_generic_device("serial_ns16550", id, NULL, start, size,
> + IORESOURCE_MEM, pdata);
> +}
> +
> /* linear list over all available devices
> */
> extern struct list_head device_list;
> --
> 1.7.5.4
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2011-07-28 8:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-28 8:00 switch more devices to use resources Sascha Hauer
2011-07-28 8:00 ` [PATCH 1/8] ARM i.MX: add helper for usb device registration Sascha Hauer
2011-07-28 8:00 ` [PATCH 2/8] ARM i.MX cupid: use device registration helpers Sascha Hauer
2011-07-28 8:00 ` [PATCH 3/8] ARM i.MX pca100: " Sascha Hauer
2011-07-28 8:00 ` [PATCH 4/8] ARM i.MX scb9328: create uart registration helpers and use them Sascha Hauer
2011-07-28 8:00 ` [PATCH 5/8] ARM i.MX35 3stack: use device registration helpers Sascha Hauer
2011-07-28 8:01 ` [PATCH 6/8] ARM i.MX21ads : " Sascha Hauer
2011-07-28 8:01 ` [PATCH 7/8] ARM i.MX pcm037: " Sascha Hauer
2011-07-28 8:01 ` [PATCH 8/8] add a ns16550 registration helper and use it Sascha Hauer
2011-07-28 8:28 ` Sascha Hauer [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=20110728082848.GU20587@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@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