Skip to content

Commit 559595a

Browse files
committed
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: powerpc: Run sbc610 USB fixup code only on the appropriate platform.
2 parents 5ad8b7d + 368a121 commit 559595a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/powerpc/platforms/86xx/gef_sbc610.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ static void __init gef_sbc610_nec_fixup(struct pci_dev *pdev)
142142
{
143143
unsigned int val;
144144

145+
/* Do not do the fixup on other platforms! */
146+
if (!machine_is(gef_sbc610))
147+
return;
148+
145149
printk(KERN_INFO "Running NEC uPD720101 Fixup\n");
146150

147151
/* Ensure ports 1, 2, 3, 4 & 5 are enabled */

0 commit comments

Comments
 (0)