staging:vt6655:device_cfg: Whitespace cleanups
Neatening only. git diff -w shows no differences. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4ec4aa4ae0
commit
74533af4b6
1 changed files with 12 additions and 12 deletions
|
@ -34,9 +34,9 @@
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
struct _version {
|
struct _version {
|
||||||
unsigned char major;
|
unsigned char major;
|
||||||
unsigned char minor;
|
unsigned char minor;
|
||||||
unsigned char build;
|
unsigned char build;
|
||||||
} version_t, *pversion_t;
|
} version_t, *pversion_t;
|
||||||
|
|
||||||
#define VID_TABLE_SIZE 64
|
#define VID_TABLE_SIZE 64
|
||||||
|
@ -76,20 +76,20 @@ struct _version {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
typedef enum _chip_type{
|
typedef enum _chip_type {
|
||||||
VT3253=1
|
VT3253 = 1
|
||||||
} CHIP_TYPE, *PCHIP_TYPE;
|
} CHIP_TYPE, *PCHIP_TYPE;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef VIAWET_DEBUG
|
#ifdef VIAWET_DEBUG
|
||||||
#define ASSERT(x) { \
|
#define ASSERT(x) { \
|
||||||
if (!(x)) { \
|
if (!(x)) { \
|
||||||
printk(KERN_ERR "assertion %s failed: file %s line %d\n", #x,\
|
printk(KERN_ERR "assertion %s failed: file %s line %d\n", #x, \
|
||||||
__FUNCTION__, __LINE__);\
|
__FUNCTION__, __LINE__); \
|
||||||
*(int*) 0=0;\
|
*(int *)0 = 0; \
|
||||||
}\
|
} \
|
||||||
}
|
}
|
||||||
#define DBG_PORT80(value) outb(value, 0x80)
|
#define DBG_PORT80(value) outb(value, 0x80)
|
||||||
#else
|
#else
|
||||||
#define ASSERT(x)
|
#define ASSERT(x)
|
||||||
|
|
Loading…
Add table
Reference in a new issue