public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] post/drivers/i2c.c: fix compile error
Date: Wed, 27 Oct 2010 07:26:08 +0200	[thread overview]
Message-ID: <4CC7B7F0.7050508@denx.de> (raw)
In-Reply-To: <1288128370-2556-1-git-send-email-wd@denx.de>

Hello Wolfgang,

Wolfgang Denk wrote:
> Commit 7e263ce "post/i2c: Clean up detection logic" added a "const"
> qualifier to the declaration of i2c_addr_list[], missing the fact that
> the list gets modified later in the code, which results in build
> errors like these:
> 
> i2c.c: In function 'i2c_post_test':
> i2c.c:88: error: assignment of read-only location
> 
> Remove the incorrect "const".
> 
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> Cc: Peter Tyser <ptyser@xes-inc.com>
> Cc: Heiko Schocher <hs@denx.de>
> ---
>  post/drivers/i2c.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Thanks for detecting this. If you want, you can apply
this patch directly.

Acked-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2010-10-27  5:26 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-22  5:20 [U-Boot] [PATCH v2 01/13] xes: Use common PCI initialization code Peter Tyser
2010-10-22  5:20 ` [U-Boot] [PATCH v2 02/13] pci: Add ability to re-enumerate PCI buses Peter Tyser
2010-10-22  5:20 ` [U-Boot] [PATCH v2 03/13] xes: Consolidate checkboard() Peter Tyser
2010-10-22  5:20 ` [U-Boot] [PATCH v2 04/13] xes: Add board_flash_wp_on() Peter Tyser
2010-10-22  5:20 ` [U-Boot] [PATCH v2 05/13] xes: Make X-ES board names more generic Peter Tyser
2010-10-22  5:20 ` [U-Boot] [PATCH v2 06/13] post/i2c: General clean up Peter Tyser
2010-10-22  7:14   ` Wolfgang Denk
2010-10-22  5:20 ` [U-Boot] [PATCH v2 07/13] post/i2c: Clean up detection logic Peter Tyser
2010-10-26 21:26   ` [U-Boot] [PATCH] post/drivers/i2c.c: fix compile error Wolfgang Denk
2010-10-27  5:26     ` Heiko Schocher [this message]
2010-10-27 18:09     ` Wolfgang Denk
2010-10-22  5:20 ` [U-Boot] [PATCH v2 08/13] post/i2c: Don't probe address 0 Peter Tyser
2010-10-22  5:20 ` [U-Boot] [PATCH v2 09/13] post/i2c: Rename I2C_ADDR_LIST to CONFIG_SYS_POST_I2C_ADDRS Peter Tyser
2010-10-22  5:57   ` Heiko Schocher
2010-10-24 13:30   ` Wolfgang Denk
2010-10-22  5:20 ` [U-Boot] [PATCH v2 10/13] post/i2c: Add ability to ignore I2C devices Peter Tyser
2010-10-22  5:20 ` [U-Boot] [PATCH v2 11/13] mpc86xx: Add generic POST word read/write support Peter Tyser
2010-10-22  5:20 ` [U-Boot] [PATCH v2 12/13] xes: Add POST support for 8xxx boards Peter Tyser
2010-10-22  5:20 ` [U-Boot] [PATCH v2 13/13] XPedite5500 board support Peter Tyser
2010-10-22  8:08 ` [U-Boot] [PATCH v2 01/13] xes: Use common PCI initialization code Kumar Gala

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=4CC7B7F0.7050508@denx.de \
    --to=hs@denx.de \
    --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