]> asedeno.scripts.mit.edu Git - linux.git/commit
sh/PCI: Remove __init optimisations from IRQ mapping functions/data
authorMatthew Minter <matt@masarand.com>
Mon, 31 Jul 2017 16:37:49 +0000 (17:37 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 3 Aug 2017 21:21:31 +0000 (16:21 -0500)
commit2b8ff9f2769135a08fc7b9c989560f759b80cc1a
tree011501efe37e2d2f5cea73d758eda3e59f5dc1ec
parent902d886d4474a4d2661ae337f3c30dc7a8e59f28
sh/PCI: Remove __init optimisations from IRQ mapping functions/data

Currently many IRQ mapping functions and data structures use the __init and
__initdata optimisations. These result in the relevant functions being
innaccessible after boot time.

However for deferred IRQ assignment it is important to have access to these
functions at PCI device enable time.

Therefore, remove the optimisation from the relevant data structures and
functions to prepare for deferred IRQ assignment.

Signed-off-by: Matthew Minter <matt@masarand.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Rich Felker <dalias@libc.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
arch/sh/drivers/pci/fixups-cayman.c
arch/sh/drivers/pci/fixups-dreamcast.c
arch/sh/drivers/pci/fixups-r7780rp.c
arch/sh/drivers/pci/fixups-rts7751r2d.c
arch/sh/drivers/pci/fixups-sdk7780.c
arch/sh/drivers/pci/fixups-se7751.c
arch/sh/drivers/pci/fixups-sh03.c
arch/sh/drivers/pci/fixups-snapgear.c
arch/sh/drivers/pci/fixups-titan.c
arch/sh/drivers/pci/pcie-sh7786.c