Commit 01ce8ef5 authored by Martyn Welch's avatar Martyn Welch Committed by Kumar Gala

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: 368a1211Signed-off-by: default avatarMartyn Welch <martyn.welch@gefanuc.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 563fdd4a
......@@ -153,6 +153,10 @@ static void __init gef_sbc310_nec_fixup(struct pci_dev *pdev)
{
unsigned int val;
/* Do not do the fixup on other platforms! */
if (!machine_is(gef_sbc310))
return;
printk(KERN_INFO "Running NEC uPD720101 Fixup\n");
/* Ensure only ports 1 & 2 are enabled */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment