[U-Boot] [PATCH] sata: namespace curr_device variable

Wolfgang Denk wd at denx.de
Fri Jul 17 22:15:40 CEST 2009


Dear Mike Frysinger,

In message <1245029722-14514-2-git-send-email-vapier at gentoo.org> you wrote:
> The curr_device variable really should be namespaced with a "sata_" prefix
> since it is only used by the sata code.  It also avoids random conflicts
> with other pieces of code (like cmd_mmc):
> common/libcommon.a(cmd_sata.o):(.data.curr_device+0x0):
> 	multiple definition of `curr_device'
> common/libcommon.a(cmd_mmc.o):(.data.curr_device+0x0): first defined here
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  common/cmd_sata.c        |   24 ++++++++++++------------
>  drivers/block/ata_piix.c |    6 +++---
>  2 files changed, 15 insertions(+), 15 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A man is not complete until he is married -- then he is finished.


More information about the U-Boot mailing list