resource/PCI: mark struct resource as const
authorDominik Brodowski <linux@dominikbrodowski.net>
Fri, 1 Jan 2010 16:40:50 +0000 (17:40 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 23 Feb 2010 00:16:57 +0000 (16:16 -0800)
commit3b7a17fcdae532d29dffab9d564a28be08960988
tree64ac96e997751e34fcd237485fac9b868d1e0614
parentb26b2d494b659f988b4d75eb394dfa0ddac415c9
resource/PCI: mark struct resource as const

Now that we return the new resource start position, there is no
need to update "struct resource" inside the align function.
Therefore, mark the struct resource as const.

Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
21 files changed:
arch/alpha/kernel/pci.c
arch/arm/kernel/bios32.c
arch/cris/arch-v32/drivers/pci/bios.c
arch/frv/mb93090-mb00/pci-frv.c
arch/ia64/pci/pci.c
arch/mips/pci/pci.c
arch/mips/pmc-sierra/yosemite/ht.c
arch/mn10300/unit-asb2305/pci-asb2305.c
arch/parisc/kernel/pci.c
arch/powerpc/kernel/pci-common.c
arch/sh/drivers/pci/pci.c
arch/sparc/kernel/pci.c
arch/sparc/kernel/pcic.c
arch/x86/pci/i386.c
arch/xtensa/kernel/pci.c
drivers/pci/bus.c
drivers/pcmcia/rsrc_mgr.c
drivers/pcmcia/rsrc_nonstatic.c
include/linux/ioport.h
include/linux/pci.h
kernel/resource.c