aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/86xx
diff options
context:
space:
mode:
authorMartyn Welch <martyn.welch@gefanuc.com>2009-03-13 07:35:08 -0400
committerKumar Gala <galak@kernel.crashing.org>2009-03-19 04:53:39 -0400
commit01ce8ef5e8abec5bda5ffdd9088dfa2b66c2a1dc (patch)
tree291ca20f8a7f84e893b455c5a72bbca72d5de6ef /arch/powerpc/platforms/86xx
parent563fdd4a0af509d8cb78901750f7d00db345d864 (diff)
powerpc/86xx: Run sbc310 USB fixup code only on the appropriate platform.
Patch to limit NEC fixup to SBC310, following similar patch to SBC610 by Tony Breeds: 368a12117dd8abf6eaefa37c21ac313b517128b9 Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/86xx')
-rw-r--r--arch/powerpc/platforms/86xx/gef_sbc310.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/86xx/gef_sbc310.c b/arch/powerpc/platforms/86xx/gef_sbc310.c
index 0f20172af84b..ba3ce4381611 100644
--- a/arch/powerpc/platforms/86xx/gef_sbc310.c
+++ b/arch/powerpc/platforms/86xx/gef_sbc310.c
@@ -153,6 +153,10 @@ static void __init gef_sbc310_nec_fixup(struct pci_dev *pdev)
153{ 153{
154 unsigned int val; 154 unsigned int val;
155 155
156 /* Do not do the fixup on other platforms! */
157 if (!machine_is(gef_sbc310))
158 return;
159
156 printk(KERN_INFO "Running NEC uPD720101 Fixup\n"); 160 printk(KERN_INFO "Running NEC uPD720101 Fixup\n");
157 161
158 /* Ensure only ports 1 & 2 are enabled */ 162 /* Ensure only ports 1 & 2 are enabled */