staging: tidspbridge: Change macros to static inline functions used in cload
authorArmando Uribe <x0095078@ti.com>
Fri, 23 Jul 2010 01:25:29 +0000 (20:25 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Jul 2010 22:32:19 +0000 (15:32 -0700)
commita563510fb2f18f0d7f2fbf815e7d7052f280a61d
tree8a392d997eaa80529c8b3e1351032034dc7d8ddc
parentc18c9c910dbcc4cc55a440c38fad300f1ecf8dbb
staging: tidspbridge: Change macros to static inline functions used in cload

This patch changes the macros to static inline function used
in cload as well adds two definition of const to avoid using magic
numbers

Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/tidspbridge/dynload/cload.c
drivers/staging/tidspbridge/dynload/doff.h
drivers/staging/tidspbridge/dynload/tramp.c