From: Tomoya MORINAGA Date: Fri, 7 Oct 2011 04:39:49 +0000 (+0900) Subject: 8250_pci: Fix kernel panic when pch_uart is disabled X-Git-Tag: v3.2-rc1~170^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64d91cfaade2155ad048fe3b65238a052e29dde4;p=pandora-kernel.git 8250_pci: Fix kernel panic when pch_uart is disabled Currently, ".setup" function is not set. As a result, when detecting our IOH's uart device without pch_uart, kernel panic occurs at the following of pciserial_init_ports(). for (i = 0; i < nr_ports; i++) { if (quirk->setup(priv, board, &serial_port, i)) break; So, this patch adds the ".setup" function. We can use pci_default_setup because our IOH's uart is compatible with 16550. Signed-off-by: Tomoya MORINAGA Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed