From: Michael Walle <michael@walle.cc>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] kirkwood_spi: add dummy spi_init()
Date: Sun, 16 Oct 2011 20:32:02 +0200 [thread overview]
Message-ID: <201110162032.02236.michael@walle.cc> (raw)
In-Reply-To: <1317939834-19777-1-git-send-email-michael@walle.cc>
Am Freitag 07 Oktober 2011, 00:23:54 schrieb Michael Walle:
> The spi_init() function is missing. Add it.
>
> Signed-off-by: Michael Walle <michael@walle.cc>
> ---
> drivers/spi/kirkwood_spi.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c
> index a1c3070..8c35d5e 100644
> --- a/drivers/spi/kirkwood_spi.c
> +++ b/drivers/spi/kirkwood_spi.c
> @@ -106,6 +106,10 @@ int spi_cs_is_valid(unsigned int bus, unsigned int cs)
> }
> #endif
>
> +void spi_init(void)
> +{
> +}
> +
> void spi_cs_activate(struct spi_slave *slave)
> {
> writel(readl(&spireg->ctrl) | KWSPI_IRQUNMASK, &spireg->ctrl);
Hi Wolfgang,
could you commit this small patch? (acked by mike)
--
Michael
next prev parent reply other threads:[~2011-10-16 18:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-06 22:23 [U-Boot] [PATCH] kirkwood_spi: add dummy spi_init() Michael Walle
2011-10-07 17:24 ` Mike Frysinger
2011-10-16 18:32 ` Michael Walle [this message]
2011-10-16 20:25 ` Wolfgang Denk
2011-10-16 20:42 ` Michael Walle
2011-10-17 10:22 ` Prafulla Wadaskar
2011-10-18 11:09 ` Prafulla Wadaskar
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=201110162032.02236.michael@walle.cc \
--to=michael@walle.cc \
--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