From d8bc55a6fb28876abcbf4a3fc3b6c3ce429c1bb3 Mon Sep 17 00:00:00 2001 From: Anton Vorontsov Date: Tue, 1 Sep 2009 20:58:03 +0400 Subject: Move uninitialized_var() macro from ubi_uboot.h to compiler.h This is needed so that we could use this macro for non-UBI code. Signed-off-by: Anton Vorontsov --- include/ubi_uboot.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/ubi_uboot.h') diff --git a/include/ubi_uboot.h b/include/ubi_uboot.h index 74312abf0..60f6a5fb4 100644 --- a/include/ubi_uboot.h +++ b/include/ubi_uboot.h @@ -15,6 +15,7 @@ #define __UBOOT_UBI_H #include +#include #include #include #include @@ -51,9 +52,6 @@ do { \ #undef CONFIG_MTD_UBI_DEBUG_MSG_BLD #define CONFIG_MTD_UBI_DEBUG_DISABLE_BGT -/* compiler options */ -#define uninitialized_var(x) x = x - /* build.c */ #define get_device(...) #define put_device(...) -- cgit v1.2.3