提交 01ce8ef5 编写于 作者: M Martyn Welch 提交者: 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: NMartyn Welch <martyn.welch@gefanuc.com>
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册