From: Sascha Hauer <s.hauer@pengutronix.de>
To: guenter.gebhardt@rafi.de
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] imx53: undefined reference to `imx_get_i2cclk'
Date: Mon, 26 Mar 2012 19:13:38 +0200 [thread overview]
Message-ID: <20120326171338.GU3852@pengutronix.de> (raw)
In-Reply-To: <OFBBAF4175.708F4DA0-ONC12579CD.00206A41-C12579CD.00218BB2@o0802.rafi.inhouse>
On Mon, Mar 26, 2012 at 08:06:22AM +0200, guenter.gebhardt@rafi.de wrote:
> Fix linker error when compiling for imx53 with I2C enabled.
>
Which branch is this patch targeted to? I applied it to next and
reverted it afterwards because there already is a imx_get_i2cclk.
Also master has imx_get_i2cclk already.
Sascha
> Signed-off-by: Guenter Gebhardt <g.gebhardt@gg-sw-systems.de>
> --
> diff --git a/barebox/arch/arm/mach-imx/speed-imx53.c
> b/barebox/arch/arm/mach-imx/speed-imx53.c
> index 0d6ac24..a168c65 100644
> --- a/barebox/arch/arm/mach-imx/speed-imx53.c
> +++ b/barebox/arch/arm/mach-imx/speed-imx53.c
> @@ -169,6 +169,11 @@ unsigned long imx_get_fecclk(void)
> return imx_get_ipgclk();
> }
>
> +unsigned long imx_get_i2cclk(void)
> +{
> + return imx_get_ipgclk();
> +}
> +
> unsigned long imx_get_mmcclk(void)
> {
> u32 reg, prediv, podf, rate;
> --
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
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:[~2012-03-26 17:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-26 6:06 guenter.gebhardt
2012-03-26 17:13 ` 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=20120326171338.GU3852@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=guenter.gebhardt@rafi.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