This driver doesn't need the /options node, so don't check for it.

This commit is contained in:
Nathan Whitehorn 2013-11-27 22:02:55 +00:00
parent a0d0d6d88b
commit 9b00150b2c

View File

@ -192,11 +192,9 @@ uart_phyp_cnprobe(struct consdev *cp)
{
char buf[64];
ihandle_t stdout;
phandle_t input, opts, chosen;
phandle_t input, chosen;
static struct uart_phyp_softc sc;
if ((opts = OF_finddevice("/options")) == -1)
goto fail;
if ((chosen = OF_finddevice("/chosen")) == -1)
goto fail;