diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-11-19 01:03:59 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-02 21:56:27 -0500 |
commit | 1e10590475b4a6d848e20c19fb22b074075c9ef3 (patch) | |
tree | c9756ac11acaccce8e2cbf495d3aecd86f5817e1 /arch/powerpc/platforms/iseries | |
parent | ebfc00f78c13d0643c858ccc61c5bb8be0a5dbf0 (diff) |
[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 da87162000f0..a74d1e1966dd 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); | |||
87 | * - CurrentIndex is incremented to keep track of the last entry. | 87 | * - CurrentIndex is incremented to keep track of the last entry. |
88 | * - Builds the resource entry for allocated BARs. | 88 | * - Builds the resource entry for allocated BARs. |
89 | */ | 89 | */ |
90 | static void iomm_table_allocate_entry(struct pci_dev *dev, int bar_num) | 90 | static void __init iomm_table_allocate_entry(struct pci_dev *dev, int bar_num) |
91 | { | 91 | { |
92 | struct resource *bar_res = &dev->resource[bar_num]; | 92 | struct resource *bar_res = &dev->resource[bar_num]; |
93 | long bar_size = pci_resource_len(dev, bar_num); | 93 | 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) | |||
130 | * - Loops through The Bar resources(0 - 5) including the ROM | 130 | * - Loops through The Bar resources(0 - 5) including the ROM |
131 | * is resource(6). | 131 | * is resource(6). |
132 | */ | 132 | */ |
133 | static void allocate_device_bars(struct pci_dev *dev) | 133 | static void __init allocate_device_bars(struct pci_dev *dev) |
134 | { | 134 | { |
135 | int bar_num; | 135 | int bar_num; |
136 | 136 | ||