]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit483c1f374c269992de87a0385beb3fce2ef5bba2
tree64ac96e997751e34fcd237485fac9b868d1e0614
parent56d787ef3a531689514bebb095b19214ef0941d3
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