summaryrefslogtreecommitdiff
path: root/include/radeon.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-12 17:49:58 +0200
committerTom Rini <trini@ti.com>2012-10-15 11:53:49 -0700
commit2a333aeb8ff4e7b05c47bfaec1816fc2eb8e0198 (patch)
tree2da089ff67c1cf23ebacc9543c158c375ae4a9dd /include/radeon.h
parentbfb3127938edf672277ec745e1e2d7d5cad9dbff (diff)
downloadu-boot-imx-2a333aeb8ff4e7b05c47bfaec1816fc2eb8e0198.zip
u-boot-imx-2a333aeb8ff4e7b05c47bfaec1816fc2eb8e0198.tar.gz
u-boot-imx-2a333aeb8ff4e7b05c47bfaec1816fc2eb8e0198.tar.bz2
serial: Implement serial_initfunc() macro
This macro simplifies declaration of weak aliases for per-driver functions, which register these drivers with the serial subsystem. The idea here is to push serial_register() calls from serial.c into the drivers. To avoid pile of ifdef construct as it is now, create weak aliases to these functions, which in case the driver is not present alias onto an empty function, which is in turn optimized out altogether. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com> Cc: Anatolij Gustschin <agust@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/radeon.h')
0 files changed, 0 insertions, 0 deletions