X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=arch%2Fnds32%2Fcpu%2Fn1213%2Fag101%2Ftimer.c;h=dfec5b3e96b563892022ef349efb4d7670018b24;hb=83d290c56fab2d38cd1ab4c4cc7099559c1d5046;hp=758b354110ba3948001e72ee1bed2173e255eb67;hpb=3be2bdf5dc69b3142c1162a59bc67191c9077567;p=platform%2Fkernel%2Fu-boot.git diff --git a/arch/nds32/cpu/n1213/ag101/timer.c b/arch/nds32/cpu/n1213/ag101/timer.c index 758b354..dfec5b3 100644 --- a/arch/nds32/cpu/n1213/ag101/timer.c +++ b/arch/nds32/cpu/n1213/ag101/timer.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2009 Faraday Technology * Po-Yu Chuang @@ -5,10 +6,8 @@ * Copyright (C) 2011 Andes Technology Corporation * Shawn Lin, Andes Technology Corporation * Macpaul Lin, Andes Technology Corporation - * - * SPDX-License-Identifier: GPL-2.0+ */ - +#ifndef CONFIG_TIMER #include #include #include @@ -189,3 +188,4 @@ ulong get_tbclk(void) return CONFIG_SYS_CLK_FREQ; #endif } +#endif /* CONFIG_TIMER */