diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-11-19 17:03:59 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-03 13:56:27 +1100 |
commit | 1e10590475b4a6d848e20c19fb22b074075c9ef3 (patch) | |
tree | c9756ac11acaccce8e2cbf495d3aecd86f5817e1 /arch/powerpc/platforms/iseries | |
parent | ebfc00f78c13d0643c858ccc61c5bb8be0a5dbf0 (diff) | |
download | kernel_samsung_smdk4412-1e10590475b4a6d848e20c19fb22b074075c9ef3.zip kernel_samsung_smdk4412-1e10590475b4a6d848e20c19fb22b074075c9ef3.tar.gz kernel_samsung_smdk4412-1e10590475b4a6d848e20c19fb22b074075c9ef3.tar.bz2 |
[POWERPC] iSeries: Mark two functions __init
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/iseries')
-rw-r--r-- | arch/powerpc/platforms/iseries/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/iseries/pci.c b/arch/powerpc/platforms/iseries/pci.c index da87162..a74d1e1 100644 --- a/arch/powerpc/platforms/iseries/pci.c +++ b/arch/powerpc/platforms/iseries/pci.c @@ -87,7 +87,7 @@ static DEFINE_SPINLOCK(iomm_table_lock); * - CurrentIndex is incremented to keep track of the last entry. * - Builds the resource entry for allocated BARs. */ -static void iomm_table_allocate_entry(struct pci_dev *dev, int bar_num) +static void __init iomm_table_allocate_entry(struct pci_dev *dev, int bar_num) { struct resource *bar_res = &dev->resource[bar_num]; long bar_size = pci_resource_len(dev, bar_num); @@ -130,7 +130,7 @@ static void iomm_table_allocate_entry(struct pci_dev *dev, int bar_num) * - Loops through The Bar resources(0 - 5) including the ROM * is resource(6). */ -static void allocate_device_bars(struct pci_dev *dev) +static void __init allocate_device_bars(struct pci_dev *dev) { int bar_num; |