summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJoe Hershberger <[email protected]>2011-10-13 13:03:47 +0000
committerWolfgang Denk <[email protected]>2011-10-22 01:21:15 +0200
commit8b3637c662e8a322f542942e5ee76b95ed9d9e39 (patch)
tree4cf79290fd343ec2fd8a407f7cce3293f14cb4ea /common
parent4c34b2a090b8418fd6b2e91b5e9dd8d36206384f (diff)
common: cosmetic: CONFIG_ROOTPATH checkpatch compliance
Remove MK_STR from places that consume CONFIG_ROOTPATH to force all definitions to be string literals. Signed-off-by: Joe Hershberger <[email protected]> Cc: Joe Hershberger <[email protected]> Cc: Wolfgang Denk <[email protected]> Acked-by: Mike Frysinger <[email protected]>
Diffstat (limited to 'common')
-rw-r--r--common/env_common.c2
-rw-r--r--common/env_embedded.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/env_common.c b/common/env_common.c
index 19149b513dc..596af82d7bf 100644
--- a/common/env_common.c
+++ b/common/env_common.c
@@ -100,7 +100,7 @@ const uchar default_environment[] = {
"preboot=" CONFIG_PREBOOT "\0"
#endif
#ifdef CONFIG_ROOTPATH
- "rootpath=" MK_STR(CONFIG_ROOTPATH) "\0"
+ "rootpath=" CONFIG_ROOTPATH "\0"
#endif
#ifdef CONFIG_GATEWAYIP
"gatewayip=" MK_STR(CONFIG_GATEWAYIP) "\0"
diff --git a/common/env_embedded.c b/common/env_embedded.c
index e438575d448..9b3018a4844 100644
--- a/common/env_embedded.c
+++ b/common/env_embedded.c
@@ -154,7 +154,7 @@ env_t environment __PPCENV__ = {
"autoload=" CONFIG_SYS_AUTOLOAD "\0"
#endif
#ifdef CONFIG_ROOTPATH
- "rootpath=" MK_STR(CONFIG_ROOTPATH) "\0"
+ "rootpath=" CONFIG_ROOTPATH "\0"
#endif
#ifdef CONFIG_GATEWAYIP
"gatewayip=" MK_STR(CONFIG_GATEWAYIP) "\0"