summaryrefslogtreecommitdiffstats
path: root/include/command.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2010-09-27 12:52:17 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-09-29 09:30:32 +0200
commit5156e781bd530a1763c0a33a49871cf58dea7eb0 (patch)
tree84c06fa3e5e5e8b497a37861ce894173c399fe8c /include/command.h
parent683e4ef35797f702d5674410aca931a5cba570da (diff)
downloadbarebox-5156e781bd530a1763c0a33a49871cf58dea7eb0.tar.gz
barebox-5156e781bd530a1763c0a33a49871cf58dea7eb0.tar.xz
import __stringify from linux
update the current code Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/command.h')
-rw-r--r--include/command.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/command.h b/include/command.h
index a612d65e54..4a4d9cf925 100644
--- a/include/command.h
+++ b/include/command.h
@@ -28,6 +28,7 @@
#define __COMMAND_H
#include <linux/list.h>
+#include <linux/stringify.h>
#ifndef NULL
#define NULL 0
@@ -75,10 +76,6 @@ void barebox_cmd_usage(struct command *cmdtp);
#endif /* __ASSEMBLY__ */
-#define __stringify_1(x) #x
-#define __stringify(x) __stringify_1(x)
-
-
#define Struct_Section __attribute__ ((unused,section (".barebox_cmd")))
#define BAREBOX_CMD_START(_name) \