aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcmring/include/csp/errno.h
diff options
context:
space:
mode:
authorLeo Chen <leochen@broadcom.com>2009-08-07 20:03:40 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-08-15 16:01:43 +0100
commit9133760f4b0c0628d45532aad17f59896cd7b57f (patch)
tree399a32457cab7ade4c82044775cf666ee768aea6 /arch/arm/mach-bcmring/include/csp/errno.h
parent7bab8bfc7f1060e3ab4bc0a90813a9338e6994b9 (diff)
downloadkernel_samsung_aries-9133760f4b0c0628d45532aad17f59896cd7b57f.zip
kernel_samsung_aries-9133760f4b0c0628d45532aad17f59896cd7b57f.tar.gz
kernel_samsung_aries-9133760f4b0c0628d45532aad17f59896cd7b57f.tar.bz2
ARM: 5652/1: bcmring: add misc headers for csp code
add misc wrapper headers for csp code add ddrc register header file Signed-off-by: Leo Chen <leochen@broadcom.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-bcmring/include/csp/errno.h')
-rw-r--r--arch/arm/mach-bcmring/include/csp/errno.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/mach-bcmring/include/csp/errno.h b/arch/arm/mach-bcmring/include/csp/errno.h
new file mode 100644
index 0000000..51357dd
--- /dev/null
+++ b/arch/arm/mach-bcmring/include/csp/errno.h
@@ -0,0 +1,32 @@
+/*****************************************************************************
+* Copyright 2003 - 2008 Broadcom Corporation. All rights reserved.
+*
+* Unless you and Broadcom execute a separate written software license
+* agreement governing use of this software, this software is licensed to you
+* under the terms of the GNU General Public License version 2, available at
+* http://www.broadcom.com/licenses/GPLv2.php (the "GPL").
+*
+* Notwithstanding the above, under no circumstances may you combine this
+* software in any way with any other Broadcom software provided under a
+* license other than the GPL, without Broadcom's express prior written
+* consent.
+*****************************************************************************/
+
+#ifndef CSP_ERRNO_H
+#define CSP_ERRNO_H
+
+/* ---- Include Files ---------------------------------------------------- */
+
+#if defined(__KERNEL__)
+#include <linux/errno.h>
+#elif defined(CSP_SIMULATION)
+#include <asm-generic/errno.h>
+#else
+#include <errno.h>
+#endif
+
+/* ---- Public Constants and Types --------------------------------------- */
+/* ---- Public Variable Externs ------------------------------------------ */
+/* ---- Public Function Prototypes --------------------------------------- */
+
+#endif /* CSP_ERRNO_H */