diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2011-10-13 13:03:47 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-22 01:21:15 +0200 |
commit | 8b3637c662e8a322f542942e5ee76b95ed9d9e39 (patch) | |
tree | 4cf79290fd343ec2fd8a407f7cce3293f14cb4ea /common | |
parent | 4c34b2a090b8418fd6b2e91b5e9dd8d36206384f (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 <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/env_common.c | 2 | ||||
-rw-r--r-- | common/env_embedded.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/env_common.c b/common/env_common.c index 19149b513d..596af82d7b 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 e438575d44..9b3018a484 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" |