From 51926d5ee0be029fb45f10f42756df97279f8ad3 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 23 Sep 2012 17:41:25 +0200 Subject: COMMON: Use __stringify() instead of rest of implementations Fix up the rest of implementations of __stringify(). Signed-off-by: Marek Vasut Cc: Wolfgang Denk --- include/configs/tegra20-common.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'include/configs/tegra20-common.h') diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h index 098cdb4..e213375 100644 --- a/include/configs/tegra20-common.h +++ b/include/configs/tegra20-common.h @@ -24,14 +24,7 @@ #ifndef __TEGRA20_COMMON_H #define __TEGRA20_COMMON_H #include - -/* - * QUOTE(m) will evaluate to a string version of the value of the macro m - * passed in. The extra level of indirection here is to first evaluate the - * macro m before applying the quoting operator. - */ -#define QUOTE_(m) #m -#define QUOTE(m) QUOTE_(m) +#include /* * High Level Configuration Options @@ -58,7 +51,8 @@ #define TEGRA_LP0_ADDR 0x1C406000 #define TEGRA_LP0_SIZE 0x2000 #define TEGRA_LP0_VEC \ - "lp0_vec=" QUOTE(TEGRA_LP0_SIZE) "@" QUOTE(TEGRA_LP0_ADDR) " " + "lp0_vec=" __stringify(TEGRA_LP0_SIZE) \ + "@" __stringify(TEGRA_LP0_ADDR) " " #else #define TEGRA_LP0_VEC #endif -- cgit v1.1