aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tidspbridge/pmgr
diff options
context:
space:
mode:
authorArmando Uribe <x0095078@ti.com>2010-07-22 21:25:32 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-26 18:32:20 -0400
commit803cd75eff2d560d622da69569f0bf66a3ea4ed1 (patch)
treeaf7daa05aa38dda6b8eebb65cf5b531dd08ec8b6 /drivers/staging/tidspbridge/pmgr
parentfe15ea8b86f19bf7c4d1a4ea7452f1bb04b8933a (diff)
staging: tidspbridge: Remove macros used as cast
This patch removes those macros that are used to perform casts Signed-off-by: Armando Uribe <x0095078@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/pmgr')
-rw-r--r--drivers/staging/tidspbridge/pmgr/dbll.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/dbll.c b/drivers/staging/tidspbridge/pmgr/dbll.c
index e8da0300564..d1806aaa26a 100644
--- a/drivers/staging/tidspbridge/pmgr/dbll.c
+++ b/drivers/staging/tidspbridge/pmgr/dbll.c
@@ -41,10 +41,7 @@
41/* Max buffer length */ 41/* Max buffer length */
42#define MAXEXPR 128 42#define MAXEXPR 128
43 43
44#ifndef UINT32_C 44#define DOFF_ALIGN(x) (((x) + 3) & ~3UL)
45#define UINT32_C(zzz) ((uint32_t)zzz)
46#endif
47#define DOFF_ALIGN(x) (((x) + 3) & ~UINT32_C(3))
48 45
49/* 46/*
50 * ======== struct dbll_tar_obj* ======== 47 * ======== struct dbll_tar_obj* ========