diff options
Diffstat (limited to 'rtc/mpc8xx.c')
| -rw-r--r-- | rtc/mpc8xx.c | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/rtc/mpc8xx.c b/rtc/mpc8xx.c index 830e56e17..8d10c0e46 100644 --- a/rtc/mpc8xx.c +++ b/rtc/mpc8xx.c @@ -31,7 +31,7 @@  #include <command.h>  #include <rtc.h> -#if defined(CONFIG_RTC_MPC8xx) && (CONFIG_COMMANDS & CFG_CMD_DATE) +#if defined(CONFIG_RTC_MPC8xx) && defined(CONFIG_CMD_DATE)  /* ------------------------------------------------------------------------- */ @@ -70,6 +70,4 @@ void rtc_reset (void)  	return;	/* nothing to do */  } -/* ------------------------------------------------------------------------- */ - -#endif	/* CONFIG_RTC_MPC8xx && CFG_CMD_DATE */ +#endif |