aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/tidspbridge/gen
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2010-07-12 17:55:59 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-22 10:48:42 -0700
commit5e7680679e4ac852db7b03e232f3472f86d4c47f (patch)
tree403eab253aeed7290b47bff30ef86bfa77b0213d /drivers/staging/tidspbridge/gen
parentc8c1ad8ce317c1e213db47f094d6eee8dec7d280 (diff)
staging: tidspbridge: remove custom TRUE FALSE
bool has standard true and false, we dont need to introduce our own TRUE and FALSE macros. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/gen')
-rw-r--r--drivers/staging/tidspbridge/gen/gb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/tidspbridge/gen/gb.c b/drivers/staging/tidspbridge/gen/gb.c
index f1a9dd37c4e..d007233aa2a 100644
--- a/drivers/staging/tidspbridge/gen/gb.c
+++ b/drivers/staging/tidspbridge/gen/gb.c
@@ -161,7 +161,7 @@ bool gb_test(struct gb_t_map *map, u32 bitn)
mask = 1L << (bitn % BITS_PER_LONG);
word = map->words[bitn / BITS_PER_LONG];
- state = word & mask ? TRUE : FALSE;
+ state = word & mask ? true : false;
return state;
}