added 2.6.29.6 aldebaran kernel
[nao-ulib.git] / kernel / 2.6.29.6-aldebaran-rt / drivers / media / video / lxv4l2 / build_num.h
blobc8e759cee4b217105627c513702da265ab78ac3a
1 #ifndef BUILD_NUM_H
2 #define BUILD_NUM_H
4 /* <LIC_AMD_STD>
5 * Copyright (c) 2003-2005 Advanced Micro Devices, Inc.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 * The full GNU General Public License is included in this distribution in the
22 * file called COPYING
23 * </LIC_AMD_STD> */
24 /* <CTL_AMD_STD>
25 * </CTL_AMD_STD> */
26 /* <DOC_AMD_STD>
27 * </DOC_AMD_STD> */
29 #ifdef AMD_BUILDNUM_DEFINED
30 #error "Caution: You have muliple version files in your path. Please correct this."
31 #endif
33 #define AMD_BUILDNUM_DEFINED
35 /* Define the following for your driver */
37 #define _NAME "AMD Linux LX video2linux/2 driver"
38 #define _MAJOR 3
39 #define _MINOR 2
41 /* This defines the current buildlevel and revision of the code */
42 #define _BL 01
43 #define _BLREV 00
45 #ifdef _BLREV
46 #define _BUILDLEVEL _x(_BL)_x(_BLREV)
47 #else
48 #define _BUILDLEVEL _x(_BL)
49 #endif
51 /* Use this macro to get the version string */
52 #define _VERSION_NUMBER _x(_MAJOR) "." _x(_MINOR) "." _BUILDLEVEL
53 #define AMD_VERSION _NAME " " _VERSION_NUMBER
55 /* Syntatic sugar for use above - you probably don't have to touch this */
57 #define _x(s) _s(s)
58 #define _s(s) #s
60 #endif