mips: Let cache.h be included from assembly source
authorMarek Vasut <marex@denx.de>
Fri, 25 Nov 2016 22:32:22 +0000 (23:32 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 30 Nov 2016 15:13:17 +0000 (16:13 +0100)
commite7e0469c880f9b83ea577e52d7fea4ba928a212a
tree97fbcc22dfb2303f4608758c1011b789a0a7665d
parent4c2cb115163caa7ff60f5bcb072d2ae20385f508
mips: Let cache.h be included from assembly source

Add ifdef __ASSEMBLY__ around the function prototype to let cache.h
be included from assembly code.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Paul Burton <paul.burton@imgtec.com>
arch/mips/include/asm/cache.h