diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 08:41:41 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 13:07:53 -0400 |
| commit | 816724e65c72a90a44fbad0ef0b59b186c85fa90 (patch) | |
| tree | 421fa29aedff988e392f92780637553e275d37a0 /drivers/scsi/t128.c | |
| parent | 70ac4385a13f78bc478f26d317511893741b05bd (diff) | |
| parent | d384ea691fe4ea8c2dd5b9b8d9042eb181776f18 (diff) | |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts:
fs/nfs/inode.c
fs/super.c
Fix conflicts between patch 'NFS: Split fs/nfs/inode.c' and patch
'VFS: Permit filesystem to override root dentry on mount'
Diffstat (limited to 'drivers/scsi/t128.c')
| -rw-r--r-- | drivers/scsi/t128.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/t128.c b/drivers/scsi/t128.c index 21305fc91479..a24f661b0270 100644 --- a/drivers/scsi/t128.c +++ b/drivers/scsi/t128.c | |||
| @@ -126,15 +126,15 @@ | |||
| 126 | static struct override { | 126 | static struct override { |
| 127 | unsigned long address; | 127 | unsigned long address; |
| 128 | int irq; | 128 | int irq; |
| 129 | } overrides | 129 | } overrides |
| 130 | #ifdef T128_OVERRIDE | 130 | #ifdef T128_OVERRIDE |
| 131 | [] __initdata = T128_OVERRIDE; | 131 | [] __initdata = T128_OVERRIDE; |
| 132 | #else | 132 | #else |
| 133 | [4] __initdata = {{0, IRQ_AUTO}, {0, IRQ_AUTO}, | 133 | [4] __initdata = {{0, IRQ_AUTO}, {0, IRQ_AUTO}, |
| 134 | {0 ,IRQ_AUTO}, {0, IRQ_AUTO}}; | 134 | {0 ,IRQ_AUTO}, {0, IRQ_AUTO}}; |
| 135 | #endif | 135 | #endif |
| 136 | 136 | ||
| 137 | #define NO_OVERRIDES (sizeof(overrides) / sizeof(struct override)) | 137 | #define NO_OVERRIDES ARRAY_SIZE(overrides) |
| 138 | 138 | ||
| 139 | static struct base { | 139 | static struct base { |
| 140 | unsigned int address; | 140 | unsigned int address; |
| @@ -143,7 +143,7 @@ static struct base { | |||
| 143 | { 0xcc000, 0}, { 0xc8000, 0}, { 0xdc000, 0}, { 0xd8000, 0} | 143 | { 0xcc000, 0}, { 0xc8000, 0}, { 0xdc000, 0}, { 0xd8000, 0} |
| 144 | }; | 144 | }; |
| 145 | 145 | ||
| 146 | #define NO_BASES (sizeof (bases) / sizeof (struct base)) | 146 | #define NO_BASES ARRAY_SIZE(bases) |
| 147 | 147 | ||
| 148 | static struct signature { | 148 | static struct signature { |
| 149 | const char *string; | 149 | const char *string; |
| @@ -152,7 +152,7 @@ static struct signature { | |||
| 152 | {"TSROM: SCSI BIOS, Version 1.12", 0x36}, | 152 | {"TSROM: SCSI BIOS, Version 1.12", 0x36}, |
| 153 | }; | 153 | }; |
| 154 | 154 | ||
| 155 | #define NO_SIGNATURES (sizeof (signatures) / sizeof (struct signature)) | 155 | #define NO_SIGNATURES ARRAY_SIZE(signatures) |
| 156 | 156 | ||
| 157 | /* | 157 | /* |
| 158 | * Function : t128_setup(char *str, int *ints) | 158 | * Function : t128_setup(char *str, int *ints) |
