resource/PCI: mark struct resource as const
[pandora-kernel.git] / arch / arm / kernel / bios32.c
index a7c85f8..bd397e0 100644 (file)
@@ -616,7 +616,7 @@ char * __init pcibios_setup(char *str)
  * but we want to try to avoid allocating at 0x2900-0x2bff
  * which might be mirrored at 0x0100-0x03ff..
  */
-resource_size_t pcibios_align_resource(void *data, struct resource *res,
+resource_size_t pcibios_align_resource(void *data, const struct resource *res,
                                resource_size_t size, resource_size_t align)
 {
        resource_size_t start = res->start;