RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / mach-bcmring / include / csp / errno.h
blob51357dd5b6667926fe7c8c7f85e1f4283cd8d798
1 /*****************************************************************************
2 * Copyright 2003 - 2008 Broadcom Corporation. All rights reserved.
4 * Unless you and Broadcom execute a separate written software license
5 * agreement governing use of this software, this software is licensed to you
6 * under the terms of the GNU General Public License version 2, available at
7 * http://www.broadcom.com/licenses/GPLv2.php (the "GPL").
9 * Notwithstanding the above, under no circumstances may you combine this
10 * software in any way with any other Broadcom software provided under a
11 * license other than the GPL, without Broadcom's express prior written
12 * consent.
13 *****************************************************************************/
15 #ifndef CSP_ERRNO_H
16 #define CSP_ERRNO_H
18 /* ---- Include Files ---------------------------------------------------- */
20 #if defined(__KERNEL__)
21 #include <linux/errno.h>
22 #elif defined(CSP_SIMULATION)
23 #include <asm-generic/errno.h>
24 #else
25 #include <errno.h>
26 #endif
28 /* ---- Public Constants and Types --------------------------------------- */
29 /* ---- Public Variable Externs ------------------------------------------ */
30 /* ---- Public Function Prototypes --------------------------------------- */
32 #endif /* CSP_ERRNO_H */