]> git.dujemihanovic.xyz Git - u-boot.git/commit
MXS: Add static annotations to dma driver
authorMarek Vasut <marek.vasut@gmail.com>
Wed, 23 Nov 2011 10:59:13 +0000 (10:59 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 6 Dec 2011 22:59:40 +0000 (23:59 +0100)
commitaa72e43bb77353f8f33f4f5c7484a48084495e50
tree51ddde2776cbe12d905b7fc91862a046a7179bf5
parent12dab4ce85a7dc2cb2e4d813696ed47ed44fb24e
MXS: Add static annotations to dma driver

Some functions were internal to the apbh dma driver, so annotate them static.
Some of the functions weren't used at all so drop them. This makes the U-Boot
binary smaller by about 1500 bytes.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-mx28/dma.h
drivers/dma/apbh_dma.c