diff options
Diffstat (limited to 'arch/mips/philips/pnx8550/common/setup.c')
-rw-r--r-- | arch/mips/philips/pnx8550/common/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/philips/pnx8550/common/setup.c b/arch/mips/philips/pnx8550/common/setup.c index 2ce298f4d19a..92d764c97701 100644 --- a/arch/mips/philips/pnx8550/common/setup.c +++ b/arch/mips/philips/pnx8550/common/setup.c | |||
@@ -74,7 +74,7 @@ struct resource standard_io_resources[] = { | |||
74 | }, | 74 | }, |
75 | }; | 75 | }; |
76 | 76 | ||
77 | #define STANDARD_IO_RESOURCES (sizeof(standard_io_resources)/sizeof(struct resource)) | 77 | #define STANDARD_IO_RESOURCES ARRAY_SIZE(standard_io_resources) |
78 | 78 | ||
79 | extern struct resource pci_io_resource; | 79 | extern struct resource pci_io_resource; |
80 | extern struct resource pci_mem_resource; | 80 | extern struct resource pci_mem_resource; |