diff options
author | Mark Brown <broonie@linaro.org> | 2014-01-10 11:52:05 +0000 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-10 11:52:05 +0000 |
commit | fce6bd84d663b92997e0fa9c971ed2b2cdf08fb4 (patch) | |
tree | c5b460cfc60b16a7c6718ae2613bb1d9cb98e5b8 /drivers/tty/serial/pmac_zilog.c | |
parent | 56d37d85438df38e150282baafe52dcd588854c7 (diff) | |
parent | 374b105797c3d4f29c685f3be535c35f5689b30e (diff) |
Merge tag 'v3.13-rc3' into asoc-arizona
Linux 3.13-rc3
Diffstat (limited to 'drivers/tty/serial/pmac_zilog.c')
-rw-r--r-- | drivers/tty/serial/pmac_zilog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index 481b781b26e3..e9d420ff3931 100644 --- a/drivers/tty/serial/pmac_zilog.c +++ b/drivers/tty/serial/pmac_zilog.c @@ -2052,6 +2052,9 @@ static int __init pmz_console_init(void) /* Probe ports */ pmz_probe(); + if (pmz_ports_count == 0) + return -ENODEV; + /* TODO: Autoprobe console based on OF */ /* pmz_console.index = i; */ register_console(&pmz_console); |