]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
blackfin: make name_to_gpio be a weak symbol
authorIan Campbell <ijc@hellion.org.uk>
Thu, 27 Mar 2014 20:34:13 +0000 (20:34 +0000)
committerTom Rini <trini@ti.com>
Fri, 18 Apr 2014 14:42:29 +0000 (10:42 -0400)
commitfd11bea2ccb97909f421e20e6a5ba770dbf39d0b
tree5c5953653778bf5467f56103ca28fa693028b853
parent3fa1981e243cbe8f4a31139740600eddde5a4da4
blackfin: make name_to_gpio be a weak symbol

This required moving it into a C file from the header.

The only user of a non-default name_to_gpio is blackfin, therefore build tested
with the blackfin bct-brettl2 build, which is one I picked at random. Also
tested with a build for the ARM tec board which uses the default/fallback
implementation. Inspection with objdump shows that both have done the right
thing.

This change was requested by Marek during review of the sunxi patch series.

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Cc: Marek Vasut <marex@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Sonic Zhang <sonic.adi@gmail.com>
arch/blackfin/cpu/gpio.c
arch/blackfin/include/asm/gpio.h
common/cmd_gpio.c