aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/pcic.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-14 17:30:35 +0200
committerDavid S. Miller <davem@davemloft.net>2012-05-14 14:05:08 -0700
commit08c9388f5816ac9285dce7d07c8867ae1c1e4bcb (patch)
treeb2de0ea20a6187a9375b6fa1f9c5a6193d95786c /arch/sparc/kernel/pcic.c
parent4ba22b16bbf354822b7988ec5b4b35774dcd479f (diff)
downloadkernel_goldelico_gta04-08c9388f5816ac9285dce7d07c8867ae1c1e4bcb.zip
kernel_goldelico_gta04-08c9388f5816ac9285dce7d07c8867ae1c1e4bcb.tar.gz
kernel_goldelico_gta04-08c9388f5816ac9285dce7d07c8867ae1c1e4bcb.tar.bz2
sparc32: remove remaining users of btfixup
Use sparc_config to hold the last two function pointers. There was no point generating dedicated _ops structures only for these. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/pcic.c')
-rw-r--r--arch/sparc/kernel/pcic.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c
index f0ec939..ded3f60 100644
--- a/arch/sparc/kernel/pcic.c
+++ b/arch/sparc/kernel/pcic.c
@@ -880,9 +880,8 @@ static void pcic_load_profile_irq(int cpu, unsigned int limit)
void __init sun4m_pci_init_IRQ(void)
{
sparc_config.build_device_irq = pcic_build_device_irq;
-
- BTFIXUPSET_CALL(clear_clock_irq, pcic_clear_clock_irq, BTFIXUPCALL_NORM);
- BTFIXUPSET_CALL(load_profile_irq, pcic_load_profile_irq, BTFIXUPCALL_NORM);
+ sparc_config.clear_clock_irq = pcic_clear_clock_irq;
+ sparc_config.load_profile_irq = pcic_load_profile_irq;
}
int pcibios_assign_resource(struct pci_dev *pdev, int resource)