commit | addf9513d0b1a57062a8604330e8c0e822d9d214 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Sep 04 16:27:23 2014 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Sep 10 12:59:59 2014 -0600 |
tree | d8f7257d0beb9f00cd238c5dd82ab3101f173b5b | |
parent | 2fccd2d96badcdf6165658a99771a4c475586279 [diff] |
serial: Set up the 'priv' pointer when creating a serial device The stdio_dev structure has a private pointer for its creator, but it is not set up by the serial system. Set it to point to the serial device so that it can be found by code called by stdio. Signed-off-by: Simon Glass <sjg@chromium.org>