From: Sergei Shtylyov Date: Tue, 25 Dec 2007 18:00:45 +0000 (+0300) Subject: [MIPS] Alchemy: Fix use of __init code bug exposed by modpost warning X-Git-Tag: v2.6.24-rc8~74^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cfacb790f581000a7ec8455785d131aca923ded;p=pandora-kernel.git [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 Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed