aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/b2c2/flexcop-reg.h
diff options
context:
space:
mode:
authorUwe Bugla <uwe.bugla@gmx.de>2009-03-29 06:46:58 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:47 -0400
commit1589a993f074124c3edfff03656e910bb472eeaa (patch)
treea4be3dc715f569de56014a3b23b6171e09ae3639 /drivers/media/dvb/b2c2/flexcop-reg.h
parent7def728f558c99489cc89f4c5d62dd64dc0289b4 (diff)
V4L/DVB (11287): Code cleanup (passes checkpatch now) of the b2c2-flexcop-drivers 1/2
This patch cleans up the source code of the b2c2 flexcop-driver. It is the first of a total of two. The code is now passing the checkpatch-script. Signed-off-by: Uwe Bugla <uwe.bugla@gmx.de> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/b2c2/flexcop-reg.h')
-rw-r--r--drivers/media/dvb/b2c2/flexcop-reg.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/drivers/media/dvb/b2c2/flexcop-reg.h b/drivers/media/dvb/b2c2/flexcop-reg.h
index 7599fccc1a5b..dc4528dcbb98 100644
--- a/drivers/media/dvb/b2c2/flexcop-reg.h
+++ b/drivers/media/dvb/b2c2/flexcop-reg.h
@@ -1,14 +1,11 @@
1/* 1/*
2 * This file is part of linux driver the digital TV devices equipped with B2C2 FlexcopII(b)/III 2 * Linux driver for digital TV devices equipped with B2C2 FlexcopII(b)/III
3 *
4 * flexcop-reg.h - register abstraction for FlexCopII, FlexCopIIb and FlexCopIII 3 * flexcop-reg.h - register abstraction for FlexCopII, FlexCopIIb and FlexCopIII
5 * 4 * see flexcop.c for copyright information
6 * see flexcop.c for copyright information.
7 */ 5 */
8#ifndef __FLEXCOP_REG_H__ 6#ifndef __FLEXCOP_REG_H__
9#define __FLEXCOP_REG_H__ 7#define __FLEXCOP_REG_H__
10 8
11
12typedef enum { 9typedef enum {
13 FLEXCOP_UNK = 0, 10 FLEXCOP_UNK = 0,
14 FLEXCOP_II, 11 FLEXCOP_II,
@@ -18,13 +15,13 @@ typedef enum {
18 15
19typedef enum { 16typedef enum {
20 FC_UNK = 0, 17 FC_UNK = 0,
21 FC_AIR_DVB, 18 FC_CABLE,
19 FC_AIR_DVBT,
22 FC_AIR_ATSC1, 20 FC_AIR_ATSC1,
23 FC_AIR_ATSC2, 21 FC_AIR_ATSC2,
24 FC_SKY,
25 FC_SKY_OLD,
26 FC_CABLE,
27 FC_AIR_ATSC3, 22 FC_AIR_ATSC3,
23 FC_SKY_REV23,
24 FC_SKY_REV26,
28 FC_SKY_REV27, 25 FC_SKY_REV27,
29 FC_SKY_REV28, 26 FC_SKY_REV28,
30} flexcop_device_type_t; 27} flexcop_device_type_t;
@@ -36,12 +33,12 @@ typedef enum {
36 33
37/* FlexCop IBI Registers */ 34/* FlexCop IBI Registers */
38#if defined(__LITTLE_ENDIAN) 35#if defined(__LITTLE_ENDIAN)
39 #include "flexcop_ibi_value_le.h" 36#include "flexcop_ibi_value_le.h"
40#else 37#else
41#if defined(__BIG_ENDIAN) 38#if defined(__BIG_ENDIAN)
42 #include "flexcop_ibi_value_be.h" 39#include "flexcop_ibi_value_be.h"
43#else 40#else
44 #error no endian defined 41#error no endian defined
45#endif 42#endif
46#endif 43#endif
47 44