diff options
Diffstat (limited to 'drivers/char/sx.c')
-rw-r--r-- | drivers/char/sx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/sx.c b/drivers/char/sx.c index 3ad758a9a1dc..564f31778eb3 100644 --- a/drivers/char/sx.c +++ b/drivers/char/sx.c | |||
@@ -345,9 +345,9 @@ static int si_probe_addrs[]= {0xc0000, 0xd0000, 0xe0000, | |||
345 | 0xc8000, 0xd8000, 0xe8000, 0xa0000}; | 345 | 0xc8000, 0xd8000, 0xe8000, 0xa0000}; |
346 | static int si1_probe_addrs[]= { 0xd0000}; | 346 | static int si1_probe_addrs[]= { 0xd0000}; |
347 | 347 | ||
348 | #define NR_SX_ADDRS (sizeof(sx_probe_addrs)/sizeof (int)) | 348 | #define NR_SX_ADDRS ARRAY_SIZE(sx_probe_addrs) |
349 | #define NR_SI_ADDRS (sizeof(si_probe_addrs)/sizeof (int)) | 349 | #define NR_SI_ADDRS ARRAY_SIZE(si_probe_addrs) |
350 | #define NR_SI1_ADDRS (sizeof(si1_probe_addrs)/sizeof (int)) | 350 | #define NR_SI1_ADDRS ARRAY_SIZE(si1_probe_addrs) |
351 | 351 | ||
352 | 352 | ||
353 | /* Set the mask to all-ones. This alas, only supports 32 interrupts. | 353 | /* Set the mask to all-ones. This alas, only supports 32 interrupts. |