From: Dan Williams Date: Tue, 15 May 2007 00:03:36 +0000 (+0100) Subject: [ARM] 4383/1: iop: fix usage of '__init' and 'inline' in iop files X-Git-Tag: v2.6.22-rc3~112^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d73d8011779292788def2cd2520d6f39d9b406de;p=pandora-kernel.git [ARM] 4383/1: iop: fix usage of '__init' and 'inline' in iop files WARNING: arch/arm/mach-iop13xx/built-in.o - Section mismatch: reference to .init.text:iop13xx_pcie_map_irq from .text between 'iop13xx_pci_setup' (at offset 0x7fc) and 'iop13xx_map_pci_memory' While fixing this warning I also recalled Adrian Bunk's recommendation to not use inline in .c files, as 'iop13xx_map_pci_memory' is needlessly inlined. Removing 'inline' uncovered some dead code so that is cleaned up as well. Signed-off-by: Dan Williams Signed-off-by: Russell King --- Reading git-diff-tree failed