diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-09-18 13:28:06 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-24 18:30:29 -0400 |
commit | c79cba37b3b42cf8fbd71babcd8998867f76fead (patch) | |
tree | 52e446aa0b8c3a623715da84b0fc9bdbd4826c0d /board/freescale | |
parent | 87f13aa00d0279fcc96530404c3a104eb4cb1672 (diff) | |
download | u-boot-imx-c79cba37b3b42cf8fbd71babcd8998867f76fead.zip u-boot-imx-c79cba37b3b42cf8fbd71babcd8998867f76fead.tar.gz u-boot-imx-c79cba37b3b42cf8fbd71babcd8998867f76fead.tar.bz2 |
cosmetic: replace MIN, MAX with min, max
The macro MIN, MAX is defined as the aliase of min, max,
respectively.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/common/ics307_clk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/common/ics307_clk.c b/board/freescale/common/ics307_clk.c index 6789efb..e683be3 100644 --- a/board/freescale/common/ics307_clk.c +++ b/board/freescale/common/ics307_clk.c @@ -67,7 +67,7 @@ unsigned long ics307_sysclk_calculator(unsigned long out_freq) continue; /* Calculate the temp out frequency */ tmp_out = input_freq * 2 * vdw / (rdw * od * 1000); - diff = MAX(out_freq, tmp_out) - MIN(out_freq, tmp_out); + diff = max(out_freq, tmp_out) - min(out_freq, tmp_out); /* * calculate the percent, the precision is 1/1000 * If greater than 1/1000, continue |