]> git.sur5r.net Git - u-boot/commit
i2c: Use __weak instead of __attribute__((weak, alias))
authorMarek Vasut <marex@denx.de>
Mon, 12 Nov 2012 14:34:25 +0000 (14:34 +0000)
committerTom Rini <trini@ti.com>
Tue, 11 Dec 2012 20:17:29 +0000 (13:17 -0700)
commit2515d8437bf3a4415d3354d01e37f07d922250e2
treeb31bb68afef6e099e172607f4a5c8501b6ff499e
parenteabd5d8d70ecf7072ac5b7aef2fe239553346dac
i2c: Use __weak instead of __attribute__((weak, alias))

Use __weak from linux/compiler.h instead of __attribute__((weak, alias))
to define overridable function. This patch is intended as a cleanup patch
to bring some consistency into the code.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Heiko Schocher <hs@denx.de>
common/cmd_i2c.c