nds32: Miscellaneous header files

This patch introduces some miscellaneous header files.

Signed-off-by: Vincent Chen <vincentc@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Greentime Hu
2017-10-25 14:58:32 +08:00
parent beebdeaa1d
commit 5c86fa7f7f
3 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2005-2017 Andes Technology Corporation
#ifndef __NDS32_BYTEORDER_H__
#define __NDS32_BYTEORDER_H__
#ifdef __NDS32_EB__
#include <linux/byteorder/big_endian.h>
#else
#include <linux/byteorder/little_endian.h>
#endif
#endif /* __NDS32_BYTEORDER_H__ */