diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2007-12-25 18:00:45 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-07 15:32:03 (GMT) |
commit | 9cfacb790f581000a7ec8455785d131aca923ded (patch) | |
tree | d157df01abc4671933787e3d5a14374699665b74 /arch/mips/pci/fixup-emma2rh.c | |
parent | c4eee283e004751143fb81dbf4f8cfe7b8dcc970 (diff) | |
download | linux-fsl-qoriq-9cfacb790f581000a7ec8455785d131aca923ded.tar.xz |
[MIPS] Alchemy: Fix use of __init code bug exposed by modpost warning
WARNING: vmlinux.o(.text+0x1ca608): Section mismatch: reference to
.init.text: add_wired_entry (between 'config_access' and 'config_read')
by refactoring the code calling add_wired_entry() from config_access() to
a separate function which is called from aau1x_pci_setup(). While at it:
- make some unnecassarily global variables 'static';
- fix the letter case, whitespace, etc. in the comments...
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/fixup-emma2rh.c')
0 files changed, 0 insertions, 0 deletions