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/pas16.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/pas16.c')
| -rw-r--r-- | drivers/scsi/pas16.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/pas16.c b/drivers/scsi/pas16.c index f09e94af9ade..1bf96ed8f935 100644 --- a/drivers/scsi/pas16.c +++ b/drivers/scsi/pas16.c | |||
| @@ -156,7 +156,7 @@ static int default_irqs[] __initdata = | |||
| 156 | static struct override { | 156 | static struct override { |
| 157 | unsigned short io_port; | 157 | unsigned short io_port; |
| 158 | int irq; | 158 | int irq; |
| 159 | } overrides | 159 | } overrides |
| 160 | #ifdef PAS16_OVERRIDE | 160 | #ifdef PAS16_OVERRIDE |
| 161 | [] __initdata = PAS16_OVERRIDE; | 161 | [] __initdata = PAS16_OVERRIDE; |
| 162 | #else | 162 | #else |
| @@ -164,19 +164,19 @@ static struct override { | |||
| 164 | {0,IRQ_AUTO}}; | 164 | {0,IRQ_AUTO}}; |
| 165 | #endif | 165 | #endif |
| 166 | 166 | ||
| 167 | #define NO_OVERRIDES (sizeof(overrides) / sizeof(struct override)) | 167 | #define NO_OVERRIDES ARRAY_SIZE(overrides) |
| 168 | 168 | ||
| 169 | static struct base { | 169 | static struct base { |
| 170 | unsigned short io_port; | 170 | unsigned short io_port; |
| 171 | int noauto; | 171 | int noauto; |
| 172 | } bases[] __initdata = | 172 | } bases[] __initdata = |
| 173 | { {PAS16_DEFAULT_BASE_1, 0}, | 173 | { {PAS16_DEFAULT_BASE_1, 0}, |
| 174 | {PAS16_DEFAULT_BASE_2, 0}, | 174 | {PAS16_DEFAULT_BASE_2, 0}, |
| 175 | {PAS16_DEFAULT_BASE_3, 0}, | 175 | {PAS16_DEFAULT_BASE_3, 0}, |
| 176 | {PAS16_DEFAULT_BASE_4, 0} | 176 | {PAS16_DEFAULT_BASE_4, 0} |
| 177 | }; | 177 | }; |
| 178 | 178 | ||
| 179 | #define NO_BASES (sizeof (bases) / sizeof (struct base)) | 179 | #define NO_BASES ARRAY_SIZE(bases) |
| 180 | 180 | ||
| 181 | static const unsigned short pas16_offset[ 8 ] = | 181 | static const unsigned short pas16_offset[ 8 ] = |
| 182 | { | 182 | { |
