summaryrefslogtreecommitdiff
path: root/post/post.c
diff options
context:
space:
mode:
Diffstat (limited to 'post/post.c')
-rw-r--r--post/post.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/post/post.c b/post/post.c
index 9964b41080..4db862c0db 100644
--- a/post/post.c
+++ b/post/post.c
@@ -16,7 +16,7 @@
#include <post.h>
#include <asm/global_data.h>
-#ifdef CONFIG_SYS_POST_HOTKEYS_GPIO
+#ifdef CFG_SYS_POST_HOTKEYS_GPIO
#include <asm/gpio.h>
#endif
@@ -55,9 +55,9 @@ int post_init_f(void)
*/
__weak int post_hotkeys_pressed(void)
{
-#ifdef CONFIG_SYS_POST_HOTKEYS_GPIO
+#ifdef CFG_SYS_POST_HOTKEYS_GPIO
int ret;
- unsigned gpio = CONFIG_SYS_POST_HOTKEYS_GPIO;
+ unsigned gpio = CFG_SYS_POST_HOTKEYS_GPIO;
ret = gpio_request(gpio, "hotkeys");
if (ret) {